apgdiff
apgdiff copied to clipboard
Another PostgreSQL Diff Tool
Add support for slony truncate triggers. Fix incorrect disable trigger parsing of quoted identifiers. Fix incorrect expectOptional implementation not adhering to documented behavior.
Hi, I'm having a null pointer exception in the case there is a create view in the destination schema and not in the starting one. This fixes it, but I'm...
Exception in thread "main" java.lang.NullPointerException at cz.startnet.utils.pgdiff.parsers.CreateRuleParser.parse(CreateRuleParser.java:74) at cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(PgDumpLoader.java:275) at cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(PgDumpLoader.java:311) at cz.startnet.utils.pgdiff.PgDiff.createDiff(PgDiff.java:35) at cz.startnet.utils.pgdiff.Main.main(Main.java:39) when rule was not in default schema (because of incorrect lookup).
This change skips the IF NOT EXISTS part, as it is irrelevant for apgdiff.
### What happened apgdiff said to drop the table in schemas that are identical. ```sql -- /tmp/schema-old.sql CREATE SCHEMA public; CREATE TABLE public.node (instance_id text); ``` ```bash java -jar releases/apgdiff-2.6.0.jar...
I've installed latest version from homebrew, just to make a diff on two very simple schema dump. However it seems to terminate when it encounters an ``` ALTER TABLE public.my_mat_view...
Apparently, form a comment in August 2018: Postgres changed the way that search path semantics are used in pg_dump in response to this: https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path The affect took place earlier this...
When trying to get a diff between a big dump with data and a dump of schema only, the command hangs using 100% cpu. When comparing only schema dumps it...
The current_database command in this context breaks. I simply remove this line from the generated output.