Re: Query is stuck - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Query is stuck
Date
Msg-id 201004130617.35417.adrian.klaver@gmail.com
Whole thread Raw
In response to Re: Query is stuck  ("Satish Burnwal (sburnwal)" <sburnwal@cisco.com>)
List pgsql-general
On Tuesday 13 April 2010 6:03:43 am Satish Burnwal (sburnwal) wrote:
> controlsmartdb=# select * from pg_stat_activity where waiting='t';
>
> ERROR:  column "waiting" does not exist
>
>

From here:
http://www.postgresql.org/docs/8.4/interactive/monitoring-stats.html#MONITORING-STATS-VIEWS

My guess is you are being caught by this;

pg_stat_activity

"Furthermore, these columns are only visible if the user examining the view is a
superuser or the same as the user owning the process being reported on. '

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: "Jaiswal Dhaval Sudhirkumar"
Date:
Subject: Re: Unknown winsock error 10061
Next
From: "Jaiswal Dhaval Sudhirkumar"
Date:
Subject: Re: Query is stuck