Re: what does function EmitWarningsOnPlaceholders?

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: what does function EmitWarningsOnPlaceholders?
Дата
Msg-id CAMsr+YG_MOpC1GxL-iECgkzOQmrM=O_MU0NNmDM9Ms42Wt7GvA@mail.gmail.com
обсуждение исходный текст
Ответ на what does function EmitWarningsOnPlaceholders?  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: what does function EmitWarningsOnPlaceholders?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 2 May 2016 at 18:51, Pavel Stehule <pavel.stehule@gmail.com> wrote:
Hi

what is sense of this function? There is not any comment.


What it does IIRC is complain about defined GUCs nobody registered an interest in. So you can say

EmitWarningsOnPlaceholders("bdr")

and any GUC with prefix "bdr." will result in an "unrecognized configuration parameter" warning in the log.


--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Dirtying replication slots when confirm_lsn is updated (trivial, 9.7)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Processes and caches in postgresql