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

From Simon Riggs
Subject Re: ALTER DATABASE and datallowconn
Date
Msg-id CA+U5nM+5mUBYSuKLhZs-WGFXprTFMk+L7YBbHJNa+D3prWCxFA@mail.gmail.com
Whole thread Raw
In response to ALTER DATABASE and datallowconn  (Magnus Hagander <magnus@hagander.net>)
Responses Re: ALTER DATABASE and datallowconn
List pgsql-hackers
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

If we need to special case template0 then we should just do that. No
need to add a column to do it.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: "unexpected EOF" messages
Next
From: Robert Haas
Date:
Subject: Re: Torn page hazard in ginRedoUpdateMetapage()