Does postgresql have a diff tool?

From: Graham Leggett <minfrin(at)sharp(dot)fm>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Does postgresql have a diff tool?
Date: 2026-09-14 12:33:44
Message-ID: 664C4448-A661-497B-930D-FD920BAB730D@sharp.fm
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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
--

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Gustafsson 2026-09-14 12:37:57 Re: Does postgresql have a diff tool?
Previous Message Laurenz Albe 2026-09-10 21:26:03 Re: PostgreSQL Service Unable to Start After Archive Log delete

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias van de Meent 2026-09-14 12:36:20 Re: Reducing relcache memory usage 2: shrink sizeof(RelationData)
Previous Message David Geier 2026-09-14 12:31:23 Re: Reduce build times of pg_trgm GIN indexes