Re: [COMMITTERS] pgsql: Only show pg_stat_replication details to superusers

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Only show pg_stat_replication details to superusers
Date: 2011-01-23 18:51:14
Message-ID: AANLkTimi9A0X8BxGDaTg8FnhQrCvZ-O4ggfr67N=FS=J@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sun, Jan 23, 2011 at 19:27, Simon Riggs <simon(at)2ndquadrant(dot)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/

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-01-23 19:16:39 pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc
Previous Message Devrim GÜNDÜZ 2011-01-23 18:44:09 Re: pgsql: Suppress uninitialized-variable warning.

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2011-01-23 18:56:32 Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED
Previous Message Simon Riggs 2011-01-23 18:43:16 Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED