OSDN Git Service

Give superusers REPLIACTION permission by default
authorMagnus Hagander <magnus@hagander.net>
Wed, 5 Jan 2011 13:24:17 +0000 (14:24 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 5 Jan 2011 13:24:17 +0000 (14:24 +0100)
commit66a8a0428db046d725b88c8b956384c2a4b4a11c
treef04c0d6946f05f4bc15371c74ac5f8337dc9b50f
parent3302334b48e2be6eb2c01dcf500363dbd4f22e59
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).
doc/src/sgml/high-availability.sgml
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/user-manag.sgml
src/backend/commands/user.c
src/include/catalog/catversion.h
src/include/catalog/pg_authid.h