Add pg_basebackup single tar output format

Поиск
Список
Период
Сортировка
От Josh Elsasser
Тема Add pg_basebackup single tar output format
Дата
Msg-id 20150929213811.GF22290@idealist.org
обсуждение исходный текст
Ответы Re: Add pg_basebackup single tar output format  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi. I have a need to pipe the output from pg_basebackup for a
multi-tablespace cluster into another program without spooling to
disk. Seeing as the current -F tar output format can't do that, I've
made an attempt at implementing that myself.

As a side effect I've refactored the some of the pg_basebackup code
for readability and reusability, as well as implemented support for
longer filenames in tar output (not used by default for
compatibility). There is also a fix for a bug where pg_basebackup will
drop a zero-length file at the end of a tablespace's tar stream.

I've put my changes up as a series of relatively small commits on this
branch of a github fork:

https://github.com/jre/postgres/commits/single-tar

Comments and suggestions are welcome.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Idea for improving buildfarm robustness
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Add pg_basebackup single tar output format