| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера