pgsql: Give superusers REPLIACTION permission by default

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Give superusers REPLIACTION permission by default
Date: 2011-01-05 13:24:38
Message-ID: E1PaTLy-00047p-O0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Give superusers REPLIACTION permission by default

This can be overriden by using NOREPLICATION on the CREATE ROLE
statement, but by default they will have it, making it backwards
compatible and "less surprising" (given that superusers normally
override all checks).

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=66a8a0428db046d725b88c8b956384c2a4b4a11c

Modified Files
--------------
doc/src/sgml/high-availability.sgml | 6 +++---
doc/src/sgml/ref/create_role.sgml | 3 ++-
doc/src/sgml/user-manag.sgml | 11 +++++++----
src/backend/commands/user.c | 8 ++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_authid.h | 2 +-
6 files changed, 22 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-01-05 16:37:41 pgsql: Clarify pg_upgrade's creation of the map file structure. Also c
Previous Message User Itagaki 2011-01-05 12:03:17 pgstatsinfo - pg_statsinfo: Add missingl include file <sys/stat.h>.