]> granicus.if.org Git - postgresql/commit
Make superuser imply replication privilege. The idea of a privilege that
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 14 Jan 2012 16:22:16 +0000 (18:22 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 14 Jan 2012 16:22:16 +0000 (18:22 +0200)
commit00c5f55061df52ccfd82eae16f054e08818ad0ff
tree034a09da079d3205a2936b1e87e0b3bbbe55d81a
parentea038d65c2460408296a5708da8bb0bd8f3d00bc
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
doc/src/sgml/high-availability.sgml
doc/src/sgml/recovery-config.sgml
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/pg_basebackup.sgml
doc/src/sgml/ref/pg_receivexlog.sgml
doc/src/sgml/user-manag.sgml
src/backend/commands/user.c
src/backend/utils/init/postinit.c