Re: new createuser option for replication role

Поиск
Список
Период
Сортировка
От Cédric Villemain
Тема Re: new createuser option for replication role
Дата
Msg-id CAF6yO=0YkkNsRZAzVWzkpELUjbUrLRD6pw=ZfwGdJNqJ8yWUTA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: new createuser option for replication role  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
Список pgsql-hackers
2011/9/23 Cédric Villemain <cedric.villemain.debian@gmail.com>:
> 2011/9/23 Robert Haas <robertmhaas@gmail.com>:
>> On Thu, Sep 22, 2011 at 12:45 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>>> Agreed. Attached is the updated version of the patch. It adds two options
>>> --replication and --no-replication. If neither specified, neither REPLICATION
>>> nor NOREPLICATION is specified in CREATE ROLE, i.e., in this case,
>>> replication privilege is granted to only superuser.
>>
>> Committed.  Do we need to make any changes in interactive mode, when
>> we prompt?  In theory this could be either wanted or not wanted for
>> either superusers or non-superusers, but I'm not really sure it's
>> worth it, and I certainly don't want the command to go into
>> interactive mode just because neither --replication nor
>> --no-replication was specified.
>>
>> Thoughts?
>
> I believe the intereactive mode is useless.
>
> There is still an issue with the patch for the documentation: a
> superuser, even with NOREPLICATION is allowed to perform
> pg_start_backup() and pg_stop_backup().

noise, sorry
I've just read the commited patch which fixed that.

>
>
>>
>> --
>> Robert Haas
>> EnterpriseDB: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>
>
> --
> Cédric Villemain +33 (0)6 20 30 22 52
> http://2ndQuadrant.fr/
> PostgreSQL: Support 24x7 - Développement, Expertise et Formation
>



--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation


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

Предыдущее
От: Cédric Villemain
Дата:
Сообщение: Re: new createuser option for replication role
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Re: [BUGS] BUG #6189: libpq: sslmode=require verifies server certificate if root.crt is present