Re: [patch] pg_copy - a command for reliable WAL archiving - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [patch] pg_copy - a command for reliable WAL archiving
Date
Msg-id 1408117671.17900.YahooMailNeo@web122304.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: [patch] pg_copy - a command for reliable WAL archiving  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> wrote:

> Direct I/O and posix_fadvise are used only for destination file.
> But why not source file? That might be useful especially for
> restore_command case.

That would prevent people from piping the file through a
compression utility.  We should support piped I/O for input (and if
we want to use it on the recovery side, for the output, too), at
least as an option.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: pg_dump bug in 9.4beta2 and HEAD
Next
From: David Fetter
Date:
Subject: Re: pg_dump bug in 9.4beta2 and HEAD