From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: dump diffs even w/o db changes
Date: Fri, 30 Apr 2010 18:14:45 +0200
Message-ID: <20100430161443.GA24971@nibiru.local> (raw)
Hi folks,
I'm doing regular (hourly) dumps and putting them into git
(and automatically pushing it to several git servers).
The problem is: the dumps are always differing (even if nothing
happened in that db).
inline patch 1: DB-net79.sql (+0/-0 lines) download inline-1.patchdiff --git a/DB-net79.sql b/DB-net79.sqlindex 89b682d..c8be6d6 100644 --- a/DB-net79.sql +++ b/DB-net79.sql @@ -12,7 +12,7 @@ SET client_min_messages = warning; CREATE TEMPORARY TABLE pgdump_oid (dummy integer) WITH OIDS;
COPY pgdump_oid WITH OIDS FROM stdin;
-22336387 0
+22336547 0
\.
DROP TABLE pgdump_oid;
This unnecessarily pollutes the history and procudes high load
when git-gc / git-repack runs.
Is there any way to get rid of these differences ?
cu
-
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
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-admin@postgresql.org
Cc: weigelt@metux.de
Subject: Re: dump diffs even w/o db changes
In-Reply-To: <20100430161443.GA24971@nibiru.local>
* 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