Re: per user/database connections limit again

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: per user/database connections limit again
Дата
Msg-id 200508011408.j71E8eW01775@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: per user/database connections limit again  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: per user/database connections limit again  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: per user/database connections limit again  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: [HACKERS] For review: Server instrumentation patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: per user/database connections limit again