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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/00c5f55061df52ccfd82eae16f054e08818ad0ff Modified Files -------------- doc/src/sgml/high-availability.sgml | 21 ++++++--------------- doc/src/sgml/recovery-config.sgml | 5 ++--- doc/src/sgml/ref/create_role.sgml | 3 +-- doc/src/sgml/ref/pg_basebackup.sgml | 13 +++++++------ doc/src/sgml/ref/pg_receivexlog.sgml | 14 +++++++------- doc/src/sgml/user-manag.sgml | 18 +++++++----------- src/backend/commands/user.c | 9 --------- src/backend/utils/init/postinit.c | 5 ++--- 8 files changed, 32 insertions(+), 56 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
