Re: How can one see what queries are running withing a - Mailing list pgsql-performance

From Tom Lane
Subject Re: How can one see what queries are running withing a
Date
Msg-id 9873.1088261157@sss.pgh.pa.us
Whole thread Raw
In response to Re: How can one see what queries are running withing a  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-performance
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Even easier:
> SELECT * FROM pg_stat_activity;

But note you must enable stats_command_string to make this very useful.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: postgres 7.4 at 100%
Next
From: Chris Cheston
Date:
Subject: Re: postgres 7.4 at 100%