Re: pgsql: walreceiver uses a temporary replication slot by default

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: pgsql: walreceiver uses a temporary replication slot by default
Дата
Msg-id 753391579708726@iva3-77ae5995f07f.qloud-c.yandex.net
обсуждение исходный текст
Ответ на Re: pgsql: walreceiver uses a temporary replication slot by default  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pgsql: walreceiver uses a temporary replication slot by default
Список pgsql-hackers
Hello

> In short, the following things:
> - wal_receiver_create_temp_slot should be made PGC_POSTMASTER,
> similarly to primary_slot_name and primary_conninfo.
> - WalReceiverMain() should not load the parameter from the GUC context
> by itself.
> - RequestXLogStreaming(), called by the startup process, should be in
> charge of defining if a temp slot should be used or not.

I would like to cross-post here a patch with such changes that I posted in "allow online change primary_conninfo"
thread.
This thread is more appropriate for discussion about wal_receiver_create_temp_slot.

PS: I posted this patch in both threads mostly to make cfbot happy.

regards, Sergei
Вложения

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

Предыдущее
От: Sergei Kornilov
Дата:
Сообщение: Re: allow online change primary_conninfo
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: Index Skip Scan