Re: use GUC for cmdline - Mailing list pgsql-patches

From Tom Lane
Subject Re: use GUC for cmdline
Date
Msg-id 2182.993172160@sss.pgh.pa.us
Whole thread Raw
In response to Re: use GUC for cmdline  (Marko Kreen <marko@l-t.ee>)
Responses Re: use GUC for cmdline  (Marko Kreen <marko@l-t.ee>)
List pgsql-patches
Marko Kreen <marko@l-t.ee> writes:
>> Uh, removing the security checks is NOT what I had in mind.  Wasn't
>> my example clear enough?

> Ee, this is done in set_config_option?

No, you still need the if (secure) --- because that changes while
we're reading the switches.  *If* secure is true, it's okay to set
the option with PGC_POSTMASTER context.

            regards, tom lane

pgsql-patches by date:

Previous
From: Marko Kreen
Date:
Subject: Re: use GUC for cmdline
Next
From: Marko Kreen
Date:
Subject: Re: use GUC for cmdline