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

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 (view raw or flat)
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(-)

pgsql-committers by date

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

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