Re: Streaming replication as a separate permissions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Streaming replication as a separate permissions
Дата
Msg-id AANLkTimOBBxhJds37d4MHPy8r_zfeHa9mTt81ToiWc-r@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming replication as a separate permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Streaming replication as a separate permissions  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Thu, Dec 23, 2010 at 11:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Florian Pflug <fgp@phlo.org> writes:
>> The problem here is that you suggest NOLOGIN should mean "Not allowed
>> to issue SQL commands", which really isn't what the name "NOLOGIN"
>> conveys.
>
> No, it means "not allowed to connect".  It's possible now to issue
> commands as a NOLOGIN user, you just have to use SET ROLE to become the
> user.  I think you're arguing about a design choice that was already
> made some time ago.

I think I agree with Florian about the confusing-ness of the proposed
semantics.  Aren't you saying you want NOLOGIN mean "not allowed to
log in for the purposes of issuing SQL commands, but allowed to log in
for replication"?  Uggh.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Streaming replication as a separate permissions
Следующее
От: Robert Haas
Дата:
Сообщение: pg_dump -X