Re: grant select on pg_stat_activity

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: grant select on pg_stat_activity
Date: 2016-03-21 14:15:12
Message-ID: CALd+dceU27n42dkCfyhPGyGgjXe2a_Dxk5b7NHS63yONc=9O-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Fri, Mar 18, 2016 at 5:46 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:

> They should be able to, see below. If that is not your case, then more
> information is needed.
>

You can see your own queries, however non-superuser will not see the query
for other users. You will be able to see the other info, though.

I do not know what permission is necessary to make that visible. My hunch
is it will require superuser privileges.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-03-21 14:39:25 Re: plan not correct?
Previous Message Bert 2016-03-21 14:03:56 plan not correct?

Browse pgsql-performance by date

  From Date Subject
Next Message Andreas Joseph Krogh 2016-03-21 14:41:42 Re: Searching GIN-index (FTS) and sort by timestamp-column
Previous Message Jeff Janes 2016-03-19 21:48:08 Re: Performance decline maybe caused by multi-column index?