Re: new createuser option for replication role

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: new createuser option for replication role
Date: 2011-09-10 06:15:15
Message-ID: CAHGQGwGwwreeOzRaLn22yBmBkuk_yjE-ayGbbbrJwj6k6V4HoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Sep 10, 2011 at 2:08 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> Currently createuser cannot create a role with REPLICATION privilege
> because it doesn't have any option to do that. Which sometimes annoys
> me when setting up replication. I'd like to propose to add new options
> "-x (--replication)" and "-X (--no-replication)" into createuser. "-x" allows
> the new user to do replication, and "-X" disallows. The default is "-X".
> Is it worth creating the patch?

Patch attached.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
createuser_replication_option_v1.patch application/octet-stream 3.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2011-09-10 08:29:26 Re: postgresql.conf archive_command example
Previous Message Magnus Hagander 2011-09-10 05:59:41 Re: unite recovery.conf and postgresql.conf