Re: ALTER DATABASE and datallowconn

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER DATABASE and datallowconn
Date: 2012-05-03 12:48:43
Message-ID: CA+U5nM+5mUBYSuKLhZs-WGFXprTFMk+L7YBbHJNa+D3prWCxFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 3, 2012 at 1:31 PM, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-05-03 12:54:44 Re: Torn page hazard in ginRedoUpdateMetapage()
Previous Message Kevin Grittner 2012-05-03 12:46:57 Re: "unexpected EOF" messages