fordfrog / apgdiff

Another PostgreSQL Diff Tool
http://www.apgdiff.com
MIT License
355 stars 138 forks source link

Unsupported command at position 30 'ATTACH PARTITION raw' -- apgdiff version 2.7.0 #287

Open gintaraskuc opened 2 years ago

gintaraskuc commented 2 years ago

Some issues with version 2.7.0

Exception in thread "main" cz.startnet.utils.pgdiff.parsers.ParserException: Cannot parse string: ALTER TABLE ONLY raw.aiw_hub ATTACH PARTITION raw.aiw_hub_am FOR VALUES IN ('AM'); Unsupported command at position 30 'ATTACH PARTITION raw' at cz.startnet.utils.pgdiff.parsers.Parser.throwUnsupportedCommand(Parser.java:413) at cz.startnet.utils.pgdiff.parsers.AlterRelationParser.parse(AlterRelationParser.java:119) at cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(PgDumpLoader.java:248) at cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(PgDumpLoader.java:322) at cz.startnet.utils.pgdiff.PgDiff.createDiff(PgDiff.java:35) at cz.startnet.utils.pgdiff.Main.main(Main.java:39)

kamal140415 commented 2 years ago

@gintaraskuc I am also facing the same issue. Have you found any work around or solution for this issue?