pg_dump custom format without timestamp? - Mailing list pgsql-hackers

From Fabien COELHO
Subject pg_dump custom format without timestamp?
Date
Msg-id alpine.DEB.2.02.1208030901380.16384@localhost6.localdomain6
Whole thread Raw
Responses Re: pg_dump custom format without timestamp?
List pgsql-hackers
Hello,

I was looking into using hardlinks to reduce the storage of keeping and 
syncing periodic database dumps when they are identical. This works fine 
with the textual format, but not for the custom format because the file 
header includes a timestamp set by function WriteHead in file 
"src/bin/pg_dump/pg_backup_archiver.c".

In order to circumvent this issue, I would think of adding a 
"--no-timestamp" option to pg_dump and put zeros everywhere in place of 
the actual timestamp in such case, and possibly ignoring the said 
timestamp in function ReadHead.

Any thoughts about this?

-- 
Fabien.


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Git diff patch in context diff format
Next
From: Fabien COELHO
Date:
Subject: Re: [PATCH] Make "psql -1 < file.sql" work as with "-f"