Re: Connection limit and Superuser

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Connection limit and Superuser
Дата
Msg-id 1154351726.24186.301.camel@home
обсуждение исходный текст
Ответ на Re: Connection limit and Superuser  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 2006-07-31 at 09:06 -0400, Tom Lane wrote:
> Rod Taylor <pg@rbt.ca> writes:
> > It appears that the superuser does not have connection limit
> > enforcement. I think this should be changed.
> 
> If you're superuser, you are not subject to access restrictions,
> by definition.  I cannot imagine any scenario under which the
> above would be a good idea.  (Hint: it would be more likely to
> lock out manual admin connections than Slony.)

If you don't want an admin user to have a connection limit, give them
"-1" or no connection limit.

Anyway, you're right that Slony should not require superuser status but
at the moment that is rather tricky to accomplish since it wants to muck
about in the system catalogues, use pg_cancel_backend, among other
things.
-- 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: User-defined typle similar to char(length) varchar(length)
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [COMMITTERS] pgsql: First small patches needed for regression tests