Re: allow online change primary_conninfo

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: allow online change primary_conninfo
Дата
Msg-id 7431841550317835@sas1-fb8a605c4548.qloud-c.yandex.net
обсуждение исходный текст
Ответ на Re: allow online change primary_conninfo  (Andres Freund <andres@anarazel.de>)
Ответы Re: allow online change primary_conninfo  (Michael Paquier <michael@paquier.xyz>)
Re: allow online change primary_conninfo  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi

> I don't quite think this is the right design. IMO the startup process
> should signal the walreceiver to shut down, and the wal receiver should
> never look at the config.

Ok, i can rewrite such way. Please check attached version.

> Otherwise there's chances for knowledge of
> pg.conf to differ between the processes.

I still not understood why this:
- is not issue for startup process with all primary_conninfo logic
- but issue for walreceiver with Michael Paquier patch; therefore without any primary_conninfo change logic in
startup.
In both cases primary_conninfo change logic is only in one process.

regards, Sergei
Вложения

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

Предыдущее
От: Ramanarayana
Дата:
Сообщение: Re: libpq host/hostaddr/conninfo inconsistencies
Следующее
От: Michael Banck
Дата:
Сообщение: Re: Online verification of checksums