pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: CS DBA <cs_dba@consistentstate.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: finding the procpid (or pid) for a prepared transaction
Date: Thu, 17 Feb 2011 21:19:24 -0500
Message-ID: <18661.1297995564@sss.pgh.pa.us> (raw)
In-Reply-To: <4D5DD51C.30600@consistentstate.com>
References: <4D5DD51C.30600@consistentstate.com>

CS DBA <cs_dba@consistentstate.com> writes:
> I have several prepared tx which are running for a long long time. I 
> want to kill 'em but I dont know the process id.

If they're prepared, they're *not* running, and they don't have a
process id.  They're just going to sit there until you do COMMIT
PREPARED or ROLLBACK PREPARED.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <18661.1297995564@sss.pgh.pa.us>
Permalink:  ../18661.1297995564@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18661.1297995564@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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cs_dba@consistentstate.com
  Subject: Re: finding the procpid (or pid) for a prepared transaction
  In-Reply-To: <18661.1297995564@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