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

From Pavel Stehule
Subject Re: what does function EmitWarningsOnPlaceholders?
Date
Msg-id CAFj8pRB75wLwS6as7ZtHsW=dzKovca62a0OsnabP2WrF5bb2Eg@mail.gmail.com
Whole thread Raw
In response to Re: what does function EmitWarningsOnPlaceholders?  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers


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

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Processes and caches in postgresql
Next
From: Robert Haas
Date:
Subject: Re: pg_dump dump catalog ACLs