Question about pg_stat_activity

From: Tony Caduto <tony(dot)caduto(at)amsoftwaredesign(dot)com>
To: Pgsql-General General <pgsql-general(at)postgresql(dot)org>
Subject: Question about pg_stat_activity
Date: 2005-01-13 05:57:18
Message-ID: 41E60DBE.1030008@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
When I run the following on my server:
SELECT * FROM pg_stat_activity

I get back <command string not enabled> for the field current_query.

I have stats enabled in my config file, is there some other setting that
I missed so I can see the current query?

I also thought that in 7.x it would say idle if the connection was just
sitting there.

Thanks,

Tony

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2005-01-13 06:28:02 Working on a new Postgres Admin tool and was wondering...
Previous Message John DeSoi 2005-01-13 05:41:25 pgEdit 1.0b6