pgsql: Make superuser imply replication privilege. The idea of a privil - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Make superuser imply replication privilege. The idea of a privil
Date
Msg-id E1Rm6VC-0002C8-L7@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: initdb: Remove support for crypt authentication method
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Avoid NULL pointer dereference in isolationtester