about privileges on pg_stat_activity columns

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: "Postgres general mailing list" <pgsql-general(at)postgresql(dot)org>
Subject: about privileges on pg_stat_activity columns
Date: 2008-12-03 20:40:29
Message-ID: 3073cc9b0812031240w509014c8qdaf639a31c518d8e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

there is an auditor that want to monitor our database activity to see
the session and the ip they come from, if they are waiting and so
on... pg_stat_activity and pg_locks views come to my mind...

we created an user to him and give him privileges to pg_locks and
pg_stat_activity (and the functions pg_stat_activity is calling) but
still he see the columns that comes from the functions as null... is
there a way to give him access to that data without give him
superuser?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jaime Casanova 2008-12-03 21:23:15 Re: two postgres server seeing the same data
Previous Message Thomas Kellerer 2008-12-03 19:24:35 Re: Good Open source reverse UML creation tool