Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x65sb-0001Wk-1Q for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 12:33:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x65sa-00Cnyb-2p for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 12:33:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x65sa-00CnyT-1y for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 12:33:48 +0000 Received: from aurora.sharp.fm ([159.69.230.166]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x65sX-00000000NsM-0zQs for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 12:33:48 +0000 Received: from aurora.sharp.fm (localhost [IPv6:::1]) by aurora.sharp.fm (Postfix) with ESMTP id BA6396031FA6 for ; Mon, 14 Sep 2026 13:33:44 +0100 (BST) DMARC-Filter: OpenDMARC Filter v1.4.2 aurora.sharp.fm BA6396031FA6 Authentication-Results: aurora.sharp.fm; dmarc=pass (p=reject dis=none) header.from=sharp.fm Authentication-Results: aurora.sharp.fm; spf=pass smtp.mailfrom=sharp.fm DKIM-Filter: OpenDKIM Filter v2.11.0 aurora.sharp.fm BA6396031FA6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharp.fm; s=default; t=1789389224; bh=6cA64jMwIpe43FqGJq7CgpTwdK5gilJXLhIaB+YXX9c=; h=From:Subject:Date:To:From; b=cvux43egLpU7x42072q0pc0iEuKU7plwMtgWI1n8SMTgpwox+D8utNhAqn+/H1OZ1 2hYLT1Diw9bWi+MGAZBAmJPDsaZVcLukD7YBU8X8a+s4EBH9lEeFo9pmMuLTYwTj+z pR7sbme0dfMFkT9fYz92m53l7z1E98WLwipW+HcI= Received: from smtpclient.apple ([2a01:4b00:ad0b:9800:710f:8c7c:c675:b883]) by aurora.sharp.fm with ESMTPSA id nywNJqjpp2pFegEA8QRZbw (envelope-from ) for ; Mon, 14 Sep 2026 13:33:44 +0100 From: Graham Leggett Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.8\)) Subject: Does postgresql have a diff tool? Message-Id: <664C4448-A661-497B-930D-FD920BAB730D@sharp.fm> Date: Mon, 14 Sep 2026 13:33:44 +0100 To: pgsql-hackers@lists.postgresql.org X-Mailer: Apple Mail (2.3826.700.81.1.8) X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on aurora.sharp.fm List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 --