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

From Andres Freund
Subject Re: Allow workers to override datallowconn
Date
Msg-id 20180222203238.bpbh2ygkhyhglwg6@alap3.anarazel.de
Whole thread Raw
In response to Re: Allow workers to override datallowconn  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2018-02-22 15:24:50 -0500, Tom Lane wrote:
> You could possibly make it work with more aggressive refactoring, but
> I remain of the opinion that this is a fundamentally bad idea anyhow.
> A GUC of this kind is just ripe for abuse, and I don't think it's solving
> any problem we really need solved.

Oh, and I actually find this a thing that I needed a couple times
before. Databases used as templates are occasionally useful. To fill
their contents one usually wants to connect to them occasionally, but
most of the time connections ought to not be allowed so creating a
database with them as a template actually works.  It's solvable via
other means, but not conveniently.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Allow workers to override datallowconn
Next
From: Claudio Freire
Date:
Subject: Re: Hash Joins vs. Bloom Filters / take 2