pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Wasser <erik.wasser@iquer.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: 'show full processlist' in postgres?
Date: Fri, 01 Jul 2005 15:42:50 -0400
Message-ID: <20839.1120246970@sss.pgh.pa.us> (raw)
In-Reply-To: <200507011913.36840.erik.wasser@iquer.net>
References: <200507011558.46408.erik.wasser@iquer.net>
	<20050701162340.M94433@contactbda.com>
	<200507011913.36840.erik.wasser@iquer.net>

Erik Wasser <erik.wasser@iquer.net> writes:
> But 'current_query' is still always empty... B-(

The pg_stats views lag reality by a certain amount, so checking for your
own query is generally not gonna work.  Try starting a long-running
query in another session.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <20839.1120246970@sss.pgh.pa.us>
Permalink:  ../20839.1120246970@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20839.1120246970@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, erik.wasser@iquer.net
  Subject: Re: 'show full processlist' in postgres?
  In-Reply-To: <20839.1120246970@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox