From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Keith Fiske <keith@omniti.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6264: Superuser does not have inherent Replication permission
Date: Thu, 27 Oct 2011 14:18:53 -0400
Message-ID: <2308.1319739533@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmobVE5eVy_CYBVDSN0brvMR9En=HLKgy-q76HkcrU0pM1w@mail.gmail.com>
References: <201110212154.p9LLsun5077390@wwwmaster.postgresql.org>
<9214.1319298574@sss.pgh.pa.us>
<CAG1_KcCZK5vuY+nuc5ejEsgo1vvLGWLZND-CBe7sB5erMZxYTw@mail.gmail.com>
<CABUevEyAUcq+AG4QMdoAEodNFJZ6Wfk-jQ1OpyihWft+SDFb8A@mail.gmail.com>
<CA+TgmobVE5eVy_CYBVDSN0brvMR9En=HLKgy-q76HkcrU0pM1w@mail.gmail.com>
Robert Haas <robertmhaas@gmail.com> writes:
> ... If we do decide to change the
> behavior, we'd better carefully document that if you want to make
> someone a superuser without giving them replication privileges (or
> revoke their superuser status without revoking replication
> privileges), you need to specify both ALTER TABLE options.
You'd also have to be careful about processing-order dependencies;
consider
ALTER USER joe NOREPLICATION SUPERUSER;
which would do the wrong thing with a naive implementation.
> All in all I'm somewhat inclined to think we should just patch the
> docs. 9.1 hasn't been out for very long, so maybe expectations aren't
> too settled yet, but changing security-critical behavior in back
> branches doesn't seem like a wonderful idea; and I think I mildly
> prefer the current semantics to the proposed ones.
+1
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, magnus@hagander.net, keith@omniti.com
Subject: Re: BUG #6264: Superuser does not have inherent Replication permission
In-Reply-To: <2308.1319739533@sss.pgh.pa.us>
References: <201110212154.p9LLsun5077390@wwwmaster.postgresql.org> <9214.1319298574@sss.pgh.pa.us> <CAG1_KcCZK5vuY+nuc5ejEsgo1vvLGWLZND-CBe7sB5erMZxYTw@mail.gmail.com> <CABUevEyAUcq+AG4QMdoAEodNFJZ6Wfk-jQ1OpyihWft+SDFb8A@mail.gmail.com> <CA+TgmobVE5eVy_CYBVDSN0brvMR9En=HLKgy-q76HkcrU0pM1w@mail.gmail.com> <2308.1319739533@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox