From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sebastian Kornehl <webmaster@sourcebase.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Reltuples/n_live_tup values wrong
Date: Wed, 07 Aug 2013 09:30:39 -0400
Message-ID: <8016.1375882239@sss.pgh.pa.us> (raw)
In-Reply-To: <52024285.2030204@sourcebase.org>
References: <5202205C.8030904@sourcebase.org>
<6848.1375877575@sss.pgh.pa.us>
<52024285.2030204@sourcebase.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Sebastian Kornehl <webmaster@sourcebase.org> writes:
> You might be right, I found some pg_prepared_xacts from 2013-05-23. This
> was a test with a XA using application, but the application is already
> offline. There is also no pid available for the given transaction id's.
> Do you have any idea how to close these xa transactions without
> restarting the whole db?
Just use ROLLBACK PREPARED with the ID you see in pg_prepared_xacts.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, webmaster@sourcebase.org
Subject: Re: Reltuples/n_live_tup values wrong
In-Reply-To: <8016.1375882239@sss.pgh.pa.us>
References: <5202205C.8030904@sourcebase.org> <6848.1375877575@sss.pgh.pa.us> <52024285.2030204@sourcebase.org> <8016.1375882239@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