Re: what does function EmitWarningsOnPlaceholders? - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: what does function EmitWarningsOnPlaceholders?
Date
Msg-id CAMsr+YG_MOpC1GxL-iECgkzOQmrM=O_MU0NNmDM9Ms42Wt7GvA@mail.gmail.com
Whole thread Raw
In response to what does function EmitWarningsOnPlaceholders?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: what does function EmitWarningsOnPlaceholders?  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Dirtying replication slots when confirm_lsn is updated (trivial, 9.7)
Next
From: Robert Haas
Date:
Subject: Re: Processes and caches in postgresql