From: Thomas Mack <mack@ifis.cs.tu-bs.de>
To: pgsql-admin@postgresql.org
Subject: Aborting transactions
Date: Mon, 26 Jun 2006 17:09:11 +0200
Message-ID: <200606261709.11750.mack@ifis.cs.tu-bs.de> (raw)
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mack@ifis.cs.tu-bs.de
Subject: Re: Aborting transactions
In-Reply-To: <200606261709.11750.mack@ifis.cs.tu-bs.de>
References: <200606261709.11750.mack@ifis.cs.tu-bs.de>
* 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