From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make superuser imply replication privilege. The idea of a privil |
Date: | 2012-01-14 16:30:46 |
Message-ID: | E1Rm6VC-0002C8-L7@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make superuser imply replication privilege. The idea of a privilege that
superuser doesn't have doesn't make much sense, as a superuser can do
whatever he wants through other means, anyway. So instead of granting
replication privilege to superusers in CREATE USER time by default, allow
replication connection from superusers whether or not they have the
replication privilege.
Patch by Noah Misch, per discussion on bug report #6264
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/00c5f55061df52ccfd82eae16f054e08818ad0ff
Modified Files
--------------
doc/src/sgml/high-availability.sgml | 21 ++++++---------------
doc/src/sgml/recovery-config.sgml | 5 ++---
doc/src/sgml/ref/create_role.sgml | 3 +--
doc/src/sgml/ref/pg_basebackup.sgml | 13 +++++++------
doc/src/sgml/ref/pg_receivexlog.sgml | 14 +++++++-------
doc/src/sgml/user-manag.sgml | 18 +++++++-----------
src/backend/commands/user.c | 9 ---------
src/backend/utils/init/postinit.c | 5 ++---
8 files changed, 32 insertions(+), 56 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2012-01-14 22:04:28 | pgsql: Avoid NULL pointer dereference in isolationtester |
Previous Message | Peter Eisentraut | 2012-01-14 13:02:28 | pgsql: initdb: Remove support for crypt authentication method |