Re: pg_basebackup stream xlog to tar

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_basebackup stream xlog to tar
Дата
Msg-id CAB7nPqTr7y8CLxn6KQateKnV7-18xGNW=JNKwbAHLU5vrGV8LA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_basebackup stream xlog to tar  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Mon, Oct 24, 2016 at 1:38 PM, Andres Freund <andres@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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [BUG] pg_basebackup from disconnected standby fails
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Remove extra comma at end of enum list