Re: allow online change primary_conninfo

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

> I would recommend waiting for the conclusion of other thread before
> moving on with this one.
Agreed.
I mark this patch as Waiting on Author. Not quite correct for waiting another discussion, but most suitable.

> We could also consider using
> the show hook function of a parameter to print its value in such logs.
But show hook also affects "show primary_conninfo;" command and pg_settings.value
I already marked primary_conninfo as GUC_SUPERUSER_ONLY. I doubt if we need hide some connection info even from
superuser.
Also this hook would be a bit complicated, i found suitable code only in libpqrcv_get_conninfo after establishing
connect

regards, Sergei


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: alternative to PG_CATCH
Следующее
От: Sergei Kornilov
Дата:
Сообщение: Re: Making WAL receiver startup rely on GUC context for primary_conninfo and primary_slot_name