pg_stat_get_backen_last_activity() ???

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_stat_get_backen_last_activity() ???
Date: 2003-01-17 21:17:12
Message-ID: 20030117211712.GC13157@perrin.int.nxad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there any notion of pg_stat_get_backend_last_activity()? I've got
a rogue process someplace and I'm having a devil of a time tracking
down which process is not committing its transaction and letting the
rest of the world continue to access the tables. Based off of the
last query performed, I'd have some idea as to where to hunt and could
figure this out, but as best as I can tell, the only option available
is to setup a query log and cruize through there with grep/less. Am I
missing more programatic and obvious? -sc

PS, the archives didn't turn up anything for 'idle in transaction' ???

--
Sean Chittenden

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-01-17 21:27:01 Re: [Fwd: FW: Oracle to Postgres data migration -- Please
Previous Message Petre Scheie 2003-01-17 21:16:01 [Fwd: FW: Oracle to Postgres data migration -- Please advice.]