Re: per user/database connections limit again - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: per user/database connections limit again
Date
Msg-id 200508011408.j71E8eW01775@candle.pha.pa.us
Whole thread Raw
In response to Re: per user/database connections limit again  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: per user/database connections limit again
Re: per user/database connections limit again
List pgsql-patches
Peter Eisentraut wrote:
> Am Montag, 25. Juli 2005 18:31 schrieb Tom Lane:
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > The new syntax for this command is CREATE/ALTER DATABASE/USER:
> > >                 | MAX CONNECTIONS Iconst
> > >
> > > This adds 'max' as a keyword, though at a fairly unreserved level, I
> > > think.  Should we use the syntax LIMIT CONNECTIONS so we don't have to
> > > add MAX as a keyword at all?
> >
> > I didn't like that either.  I was thinking of just CONNECTIONS.
> > LIMIT CONNECTIONS sort of works grammatically, I guess.
>
> Would this not work in the context of the general user-specific ALTER USER ...
> SET something = something?

No because it isn't a GUC variable, it is per-user/db value.  We could
have used that syntax, but it might confuse people.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: [HACKERS] For review: Server instrumentation patch
Next
From: Bruce Momjian
Date:
Subject: Re: per user/database connections limit again