Re: Connection limit and Superuser

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Connection limit and Superuser
Дата
Msg-id 14141.1154353937@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Connection limit and Superuser  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Connection limit and Superuser  (Rod Taylor <pg@rbt.ca>)
Re: Connection limit and Superuser  (Andrew Dunstan <andrew@dunslane.net>)
Re: Connection limit and Superuser  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Martijn van Oosterhout wrote:
>> Maybe someone should look into enabling slony to not run as a
>> superuser?

> That was my initial reaction to this suggestion. But then I realised 
> that it might well make sense to have a separate connection-limited 
> superuser for Slony purposes (or any other special purpose) alongside an 
> unlimited superuser.

Actually, the real question in my mind is why Slony can't be trusted
to use the right number of connections to start with.  If you don't
trust it that far, what are you doing letting it into your database as
superuser to start with?

As for "connection-limited superuser", if you can't do ALTER USER SET
on yourself then you aren't a superuser, so any such restriction is
illusory anyway.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: User-defined typle similar to char(length) varchar(length)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Relation locking and relcache load (was Re: Going for "all green" buildfarm results)