On 12/5/13, 6:07 AM, Simon Riggs wrote:
> On 5 December 2013 01:55, Peter Eisentraut <peter_e@gmx.net> wrote:
>> On Thu, 2013-11-14 at 12:11 +0530, Amit Kapila wrote:
>>> If an application wants to allow these connection parameters to be
>>> used, it would need to do PQenableStartServer() first. If it doesn't,
>>> those connection parameters will be rejected.
>>
>> Stupid idea: Would it work that we require an environment variable to be
>> set before we allow the standalone_backend connection parameter? That's
>> easy to do, easy to audit, and doesn't require any extra code in the
>> individual clients.
>
> I like the idea... should it be in pg_hba.conf ?
> Or should it be next to listen_addresses in postgresql.conf?
No, it's an environment variable.