Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V74Xm-0000r0-29 for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Aug 2013 14:16:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V74Xl-0002Mp-I6 for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Aug 2013 14:16:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V74Xk-0002Lx-V4 for pgsql-bugs@postgresql.org; Wed, 07 Aug 2013 14:16:53 +0000 Received: from bln4.gameduell.de ([213.95.169.180]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V74Xe-00033e-Da for pgsql-bugs@postgresql.org; Wed, 07 Aug 2013 14:16:52 +0000 Received: from bln1.gameduell.de (smtp.gd [10.1.1.148]) by bln4.gameduell.de (Postfix) with SMTP id 47507DD for ; Wed, 7 Aug 2013 16:16:45 +0200 (CEST) Received: (qmail 31159 invoked from network); 7 Aug 2013 16:16:45 +0200 Received: from unknown (HELO ?10.2.1.132?) (10.2.1.132) by mailer.gd with SMTP; 7 Aug 2013 16:16:45 +0200 Message-ID: <520256CD.4060501@sourcebase.org> Date: Wed, 07 Aug 2013 16:16:45 +0200 From: Sebastian Kornehl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: Reltuples/n_live_tup values wrong References: <5202205C.8030904@sourcebase.org> <6848.1375877575@sss.pgh.pa.us> <52024285.2030204@sourcebase.org> <8016.1375882239@sss.pgh.pa.us> In-Reply-To: <8016.1375882239@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Thank you, that did it! On 08/07/2013 03:30 PM, Tom Lane wrote: > Sebastian Kornehl 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