Re: new createuser option for replication role
От | Tom Lane |
---|---|
Тема | Re: new createuser option for replication role |
Дата | |
Msg-id | 1061.1315666213@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | new createuser option for replication role (Fujii Masao <masao.fujii@gmail.com>) |
Ответы |
Re: new createuser option for replication role
|
Список | pgsql-hackers |
Fujii Masao <masao.fujii@gmail.com> writes: > 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? > Though I'd like to use "-r" and "-R" as the option name, they have already > been used for CREATEROLE privilege. So I'm thinking to use "-x" and > "-X" derived from XLOG. But does anyone have better option name? Better solution: don't have a short form of the switch. regards, tom lane
В списке pgsql-hackers по дате отправления: