Open fdzuJ opened 5 months ago
Hi @fdzuJ
I cannot find where mentioned the syntax that supports the alias after ON COMMIT clause, seems it only supports [TABLESPACE tablespace_name] according to Postgre documentation: https://www.postgresql.org/docs/current/sql-createtable.html.
It will be helpful if you can provide the reference and I'm happy to support this feature if it did miss in sqlparse-rs.
Hi @git-hulk! Here is documentation for this syntax.
https://www.postgresql.org/docs/current/sql-createtableas.html
@fdzuJ Thank you! I will submit a PR to resolve this.
@fdzuJ Would you mind having a try at the latest version, it should be resolved now. cc @alamb
Add support for postgresql
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
. Currently panics:ParserError("Expected end of statement, found: as at Line: 1, Column 59")