fordfrog / apgdiff

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

ALTER TABLE XX REPLICA IDENTITY FULL; #218

Open wingedpig opened 6 years ago

wingedpig commented 6 years ago

apgdiff 2.4 throws an exception on the line:

ALTER TABLE ONLY groups REPLICA IDENTITY FULL;

The exception is:

Exception in thread "main" cz.startnet.utils.pgdiff.parsers.ParserException: Cannot parse string: ALTER TABLE ONLY groups REPLICA IDENTITY FULL; Unsupported command at position 25 'REPLICA IDENTITY FUL' at cz.startnet.utils.pgdiff.parsers.Parser.throwUnsupportedCommand(Parser.java:390) at cz.startnet.utils.pgdiff.parsers.AlterTableParser.parse(AlterTableParser.java:106) at cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(PgDumpLoader.java:180) at cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(PgDumpLoader.java:236) at cz.startnet.utils.pgdiff.PgDiff.createDiff(PgDiff.java:33) at cz.startnet.utils.pgdiff.Main.main(Main.java:39)