Обсуждение: what does function EmitWarningsOnPlaceholders?

Поиск
Список
Период
Сортировка

what does function EmitWarningsOnPlaceholders?

От
Pavel Stehule
Дата:
Hi

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

Regards

Pavel

Re: what does function EmitWarningsOnPlaceholders?

От
Craig Ringer
Дата:
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

Re: what does function EmitWarningsOnPlaceholders?

От
Pavel Stehule
Дата:


2016-05-02 13:54 GMT+02:00 Craig Ringer <craig@2ndquadrant.com>:
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.

thank you for info

Regards

Pavel
 


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