Re: pg_basebackup compressed tar to stdout

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_basebackup compressed tar to stdout
Date: 2011-05-26 21:10:17
Message-ID: 1306444217.27440.11.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On tor, 2011-05-26 at 17:06 -0400, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)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.

Ah yes, that needs some fine-tuning.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-05-26 21:11:12 Re: inconvenient compression options in pg_basebackup
Previous Message Tom Lane 2011-05-26 21:06:01 Re: pg_basebackup compressed tar to stdout