pg_dump custom format without timestamp?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема pg_dump custom format without timestamp?
Дата
Msg-id alpine.DEB.2.02.1208030901380.16384@localhost6.localdomain6
обсуждение исходный текст
Ответы Re: pg_dump custom format without timestamp?
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Git diff patch in context diff format
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: [PATCH] Make "psql -1 < file.sql" work as with "-f"