Re: Allow workers to override datallowconn - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Allow workers to override datallowconn
Date
Msg-id 20180222192646.q3tdcfdmetmmmpz7@alap3.anarazel.de
Whole thread Raw
In response to Re: Allow workers to override datallowconn  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Allow workers to override datallowconn
List pgsql-hackers
Hi,

On 2018-02-22 20:24:03 +0100, Magnus Hagander wrote:
> In a background worker you can just set the parameter using
> SetConfigOption(), no? That seems a lot easier than turning things in to a
> kv pair and back...

Sure, but, it doesn't seem bad to offer the option to only allow this
for code running as superuser.


> I can see the point for having such a parameter for pg_upgrade, but I'm not
> sure we'd necessarily want to overload them.

What's the argument against?

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Online enabling of checksums
Next
From: Magnus Hagander
Date:
Subject: Re: Allow workers to override datallowconn