Skip site navigation (1) Skip section navigation (2)

pgsql: Make superuser imply replication privilege. The idea of aprivil

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 aprivil
Date: 2012-01-14 16:30:46
Message-ID: E1Rm6VC-0002C8-L7@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-01-14 22:04:28
Subject: pgsql: Avoid NULL pointer dereference in isolationtester
Previous:From: Peter EisentrautDate: 2012-01-14 13:02:28
Subject: pgsql: initdb: Remove support for crypt authentication method

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group