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

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

From
Simon Riggs
Date:
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?

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



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

From
Magnus Hagander
Date:
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/