Обсуждение: pgsql: Give superusers REPLIACTION permission by default

Поиск
Список
Период
Сортировка

pgsql: Give superusers REPLIACTION permission by default

От
Magnus Hagander
Дата:
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(-)