Re: what does function EmitWarningsOnPlaceholders?

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: what does function EmitWarningsOnPlaceholders?
Date: 2016-05-02 11:54:37
Message-ID: CAMsr+YG_MOpC1GxL-iECgkzOQmrM=O_MU0NNmDM9Ms42Wt7GvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2 May 2016 at 18:51, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-05-02 12:36:14 Re: Processes and caches in postgresql
Previous Message Craig Ringer 2016-05-02 11:50:50 Dirtying replication slots when confirm_lsn is updated (trivial, 9.7)