pg_basebackup compressed tar to stdout

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-26T21:01:36Z
Lists: pgsql-hackers

Attachments

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.