Re: pg_basebackup compressed tar to stdout

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-26T21:06:01Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> 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.

I have not bothered to read this in context, but the visible part of the
patch makes it look like you broke the not-HAVE_LIBZ case ... other than
that gripe, no objection.

			regards, tom lane