From: Graham Leggett <minfrin@sharp.fm>
To: pgsql-hackers@lists.postgresql.org
Subject: Does postgresql have a diff tool?
Date: Mon, 14 Sep 2026 13:33:44 +0100
Message-ID: <664C4448-A661-497B-930D-FD920BAB730D@sharp.fm> (raw)
Hi all,
I have a piece of code that modifies a postgresql database, and I need to know precisely what changes this piece of code has made to the database. The code contains an ORM tool so it is a mystery what the tool is doing.
Does there exist an equivalent of pg_dump that is capable of dumping a database in a deterministic order so that a standard diff will make sense?
Regards,
Graham
--
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: minfrin@sharp.fm, pgsql-hackers@lists.postgresql.org
Subject: Re: Does postgresql have a diff tool?
In-Reply-To: <664C4448-A661-497B-930D-FD920BAB730D@sharp.fm>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox