Re: finding the procpid (or pid) for a prepared transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: CS DBA <cs_dba(at)consistentstate(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: finding the procpid (or pid) for a prepared transaction
Date: 2011-02-18 02:19:24
Message-ID: 18661.1297995564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

CS DBA <cs_dba(at)consistentstate(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message CS DBA 2011-02-18 02:48:30 Re: finding the procpid (or pid) for a prepared transaction
Previous Message CS DBA 2011-02-18 02:10:36 finding the procpid (or pid) for a prepared transaction