Re: Don'st start streaming after creating a slot in pg_receivexlog

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Don'st start streaming after creating a slot in pg_receivexlog
Дата
Msg-id CAB7nPqR+Wf2jz0iXwn6xd82nV3U4urgSrY1_gH=NrE=f04a2yg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Don'st start streaming after creating a slot in pg_receivexlog  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Don'st start streaming after creating a slot in pg_receivexlog  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Wed, Jul 29, 2015 at 4:51 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> On 07/29/2015 10:37 AM, Andres Freund wrote:
>>
>> Heikki complained about pg_receivexlog --create-slot starting to stream
>> in his talk in St. Petersburg. Saying that that makes it a hard to
>> script feature - and I have to agree. Since that option is new to 9.5 we
>> can should change that behaviour now if we decide to.
>
> To be clear, I think "pg_receivexlog --create-slot" should only create the
> slot, and exit.

Even if I would like to make pg_recvlogical and pg_receivexlog behave
as similarly as possible by having an additional switch --start in
pg_receivexlog to control if it starts to stream or not, this ship has
already sailed for backward-compatibility's sake... Then let's just
create the slot and exit().
-- 
Michael



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pg_basebackup and replication slots
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Typo in comment in ATPrepChangePersistence