Re: ALTER DATABASE and datallowconn - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: ALTER DATABASE and datallowconn
Date
Msg-id CABUevEyu4ZHbZUd_NiUUtfCnOTLUubQUBRgm30TNkHiymLerCQ@mail.gmail.com
Whole thread Raw
In response to Re: ALTER DATABASE and datallowconn  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Thu, May 3, 2012 at 2:48 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> On Thu, May 3, 2012 at 1:31 PM, Magnus Hagander <magnus@hagander.net> wrote:
>
>> Is there a particular reason we don't have an ALTER DATABASE switch
>> that controls the datallowconn, or is it just something "missed out"?
>
> I think it can be removed, or rather deprecated.
>
> datconnlimit can be set to 0

superusers bypass datconnlimit, but not datallowconn, don't they?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Torn page hazard in ginRedoUpdateMetapage()
Next
From: Andres Freund
Date:
Subject: outdated comment in heapam.c