Re: [COMMITTERS] pgsql: Only show pg_stat_replication details to superusers - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [COMMITTERS] pgsql: Only show pg_stat_replication details to superusers
Date
Msg-id AANLkTimi9A0X8BxGDaTg8FnhQrCvZ-O4ggfr67N=FS=J@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Only show pg_stat_replication details to superusers  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Sun, Jan 23, 2011 at 19:27, Simon Riggs <simon@2ndquadrant.com> wrote:
> On Sun, 2011-01-23 at 16:28 +0000, Magnus Hagander wrote:
>
>> Only show pg_stat_replication details to superusers
>
> What happens to those with REPLICATION privilege? Denied access?

Correct, same as those without it - only superuser is enough.

For rationale, see the original thread discussing the patch :)


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED
Next
From: Marko Tiikkaja
Date:
Subject: Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED