Skip site navigation (1) Skip section navigation (2)

Re: pg_stat_activity versus ps

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Amiel <jamiel(at)istreamimaging(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_stat_activity versus ps
Date: 2004-08-24 16:43:44
Message-ID: 4964.1093365824@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Jeff Amiel <jamiel(at)istreamimaging(dot)com> writes:
> however, if I checked pg_stat_activity during the same time period, I 
> saw nothing populated in the current_query column...ever.

Did you have it turned on?  (stats_command_string config parameter)

Were you checking as superuser?

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Tom LaneDate: 2004-08-24 16:52:56
Subject: Re: select ... where <column>='' does a seqscan [auf Viren
Previous:From: Eduardo S. FontanettiDate: 2004-08-24 16:36:18
Subject: Re: [GENERAL] Dump and Restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group