From: Dick Visser <dick.visser@tienhuis.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-admin@postgresql.org
Subject: Re: binary vs. txt dumps with pg
Date: Sat, 17 Dec 2005 19:32:24 +0100
Message-ID: <43A459B8.9040800@tienhuis.nl> (raw)
In-Reply-To: <8662.1134843452@sss.pgh.pa.us>
References: <43A3F676.5000109@tienhuis.nl>
<8662.1134843452@sss.pgh.pa.us>
Hi Tom
> Have you retested this assumption recently? We got rid of the OIDs and
> stuff in the default comments, so I think that you should be able to
> just diff the text dump files without any weird processing.
Hmmm you're right, they are the same now. I don't know what I did this
week, but I was pretty sure the files were different.
Nevermind then, as this saves time and effort.
> There's a timestamp in the custom format file header.
Ah OK that explains the different sums.
Would it be an idea to make it a (default) configuration option for
pg_dump to include a timestamp?
You could work around it by disgarding the first X bytes when
checksumming. Any idea what X would be?
Best regards,
--
* *** Dick Visser TIENHUIS Networking
** * * Touwbaan 68 P: +31206843731
* * *** 1018 HS Amsterdam F: +31208641420
* * * * The Netherlands M: +31622698108
* ** * IP-phone (SIP)/email: dick@tienhuis.nl
* * * PGP-key: http://www.tienhuis.nl/gpg.txt
* * * Webcam: http://www.tienhuis.nl/cam2.asx
*** ***
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dick.visser@tienhuis.nl, tgl@sss.pgh.pa.us
Subject: Re: binary vs. txt dumps with pg
In-Reply-To: <43A459B8.9040800@tienhuis.nl>
References: <43A3F676.5000109@tienhuis.nl> <8662.1134843452@sss.pgh.pa.us> <43A459B8.9040800@tienhuis.nl>
* 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