Aborting transactions

From: Thomas Mack <mack(at)ifis(dot)cs(dot)tu-bs(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Aborting transactions
Date: 2006-06-26 15:09:11
Message-ID: 200606261709.11750.mack@ifis.cs.tu-bs.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

we use postgres for student's education and others.

Now we had an issue with some SQL statement in connection with some
triggers, that probably caused an infinite loop in processing for at
least 10 hours or so on some two to ten line tables.

Unfortunately, the students used the phpPgAdmin web interface, so
they could not abort the running SQL statement. They could not even
continue to work with the database from phpPgAdmin.

So the question arose, how to abort running statements at least
via the postgres account. I remember some methods from Ingres "some"
years ago, but I did not find anything similar in postgresql.

Is there any chance to monitor the current transactions and abort them,
in case of need?

Thanks,
Thomas Mack
TU Braunschweig, Institut für Informationssysteme

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andy 2006-06-26 15:15:20 Re: Problem Setting DateStyle
Previous Message Tom Lane 2006-06-26 14:50:41 Re: Problem Setting DateStyle