Re: BUG #1754: Abou the pg_stat_activity - Mailing list pgsql-bugs

From Michael Fuhr
Subject Re: BUG #1754: Abou the pg_stat_activity
Date
Msg-id 20050705134813.GA91794@winnie.fuhr.org
Whole thread Raw
In response to BUG #1754: Abou the pg_stat_activity  ("Ramzi" <ramzi.zeid@beecell.com>)
List pgsql-bugs
On Tue, Jul 05, 2005 at 02:06:58PM +0100, Ramzi wrote:
>
> I found a bug in my postgresql which is when I make this select command
> [select * from pg_stat_activity] it doesnt show me active current query, but
> in newer versions and on windows OS it shows the output for this.
> i need a help if it is really a bug, if there is a way to solve this problem
> on my 7.3 version because my current version is activated and live and hard
> to change to the newer one especially at this time.

Are you querying pg_stat_activity as a database superuser?  According
to the 7.4 Release Notes, ordinary users can see their own queries
only in 7.4 and later.

http://www.postgresql.org/docs/7.4/static/release-7-4.html#AEN62504

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-bugs by date:

Previous
From: "Ramzi"
Date:
Subject: BUG #1754: Abou the pg_stat_activity
Next
From: "Garrett Heaver"
Date:
Subject: BUG #1751: pg_restore bug