pg_basebackup compressed tar to stdout

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_basebackup compressed tar to stdout
Date: 2011-05-26 21:01:36
Message-ID: 1306443696.27440.6.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pg_basebackup currently doesn't allow compressed tar to stdout. That
should be added to make the interface consistent, and specifically to
allow common idoms like

pg_basebackup -Ft -z -D - | ssh tar -x -z -f -

Small patch attached.

Attachment Content-Type Size
pg_basebackup-tar-gzip-stdout.patch text/x-patch 1.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-05-26 21:04:21 Re: inconvenient compression options in pg_basebackup
Previous Message Tom Lane 2011-05-26 20:54:14 Re: inconvenient compression options in pg_basebackup