Re: Aborting transactions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Mack <mack(at)ifis(dot)cs(dot)tu-bs(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Aborting transactions
Date: 2006-06-26 16:10:43
Message-ID: 29951.1151338243@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thomas Mack <mack(at)ifis(dot)cs(dot)tu-bs(dot)de> writes:
> Is there any chance to monitor the current transactions and abort them,
> in case of need?

Sure, just SIGINT whichever backend you want to cancel its query.
Use "ps" or pg_stat_activity to figure out the right PID to kill.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2006-06-26 16:11:02 Re: Problem Setting DateStyle
Previous Message Alvaro Herrera 2006-06-26 15:59:15 Re: Problem Setting DateStyle