On Mon, Oct 24, 2016 at 1:38 PM, Andres Freund <and...@anarazel.de> wrote: > On 2016-10-17 14:37:05 +0900, Michael Paquier wrote: >> 2) Add an option to pg_xlogdump to be able to output its output to a >> file. That would be awkward to rely on grabbing the output data from a >> pipe... On Windows particularly. Thinking about it, would that >> actually be useful to others? That's not a complicated patch. > > Hm? Just redirecting output seems less complicated? And afaik works on > windows as well?
In the TAP suite STDOUT is already redirect to the log files. Perhaps we could just do a SELECT FILE; to redirect the output of pg_xlogdump temporarily into a custom location just for the sake of a test like that. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers