Re: Privilege for seeing queries using pg_stat_get_backend_activity

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Marc Munro <marc(at)bloodnok(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Privilege for seeing queries using pg_stat_get_backend_activity
Date: 2006-01-19 17:42:19
Message-ID: 20060119174219.GA59289@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 19, 2006 at 09:17:12AM -0800, Marc Munro wrote:
> I've tried tricks with security definer functions but this does not help
> as pg_stat_get_backend_activity explicitly checks for the caller being a
> superuser.

Works here. Could you post an example?

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2006-01-19 17:49:35 Re: create plperlu langage fails
Previous Message Ledina Hido 2006-01-19 17:38:51