Re: new createuser option for replication role - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: new createuser option for replication role
Date
Msg-id CAHGQGwGwwreeOzRaLn22yBmBkuk_yjE-ayGbbbrJwj6k6V4HoQ@mail.gmail.com
Whole thread Raw
In response to new createuser option for replication role  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Sat, Sep 10, 2011 at 2:08 PM, Fujii Masao <masao.fujii@gmail.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

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: Andres Freund
Date:
Subject: Re: postgresql.conf archive_command example