failed to parse desired state schema file: failed to split SQL statements: syntax error at or near "default"
I made some changes to .sql file that I dumped from "pgschema dump" and when i ran:
pgschema plan --host xxxxxxxxxxxxxxxxx.rds.amazonaws.com --db xxxxxxxxxxxxxxxxx --user xxxxxxxxxxxxxxxxx --password xxxxxxxxxxxxxxxxx --schema schema --file schema.sql
I got below error: Error: failed to parse desired state schema file: failed to split SQL statements: syntax error at or near "default" failed to parse desired state schema file: failed to split SQL statements: syntax error at or near "default"
Could you please show the original schema.sql and the change you made?
Apologies, Can't share the schema.sql due to the compliance.
but I dug deeper and found out, i have a table which contains a column
Also, I just made this change, but when I ran the pgschema plan
It was showing a lot of files affected with mission where conditions
This sounds like a bug. I am happy to take a look if you could provide a sanitized schema
Close due to lack of steps to reproduce