Re: Reltuples/n_live_tup values wrong - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Reltuples/n_live_tup values wrong
Date
Msg-id 8016.1375882239@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reltuples/n_live_tup values wrong  (Sebastian Kornehl <webmaster@sourcebase.org>)
Responses Re: Reltuples/n_live_tup values wrong
List pgsql-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

pgsql-bugs by date:

Previous
From: Greg Stark
Date:
Subject: Re: Reltuples/n_live_tup values wrong
Next
From: Sebastian Kornehl
Date:
Subject: Re: Reltuples/n_live_tup values wrong