Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4652B632E39 for ; Thu, 1 Jul 2010 18:23:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 04323-06 for ; Thu, 1 Jul 2010 21:23:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from vexbert.mr-paradox.net (vexbert.mr-paradox.net [198.145.180.174]) by mail.postgresql.org (Postfix) with ESMTP id 24EB9632D03 for ; Thu, 1 Jul 2010 18:23:25 -0300 (ADT) Received: from [192.168.1.100] (c-24-20-21-238.hsd1.or.comcast.net [24.20.21.238]) (Authenticated sender: dmk) by vexbert.mr-paradox.net (Postfix) with ESMTP id 18673845E5; Thu, 1 Jul 2010 17:23:24 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.96 at vexbert.mr-paradox.net Message-ID: <4C2D0684.9040307@mr-paradox.net> Date: Thu, 01 Jul 2010 14:20:04 -0700 From: David Kerr User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Kevin Grittner CC: pgsql-jdbc@postgresql.org Subject: Re: Unable to commit: transaction marked for rollback References: <20100701181528.GA97516@mr-paradox.net> <4C2C98930200002500032F20@gw.wicourts.gov> <4C2CE533.8010301@mr-paradox.net> <4C2CA4180200002500032F32@gw.wicourts.gov> <4C2CFDE1.1020308@mr-paradox.net> <4C2CBD620200002500032F49@gw.wicourts.gov> In-Reply-To: <4C2CBD620200002500032F49@gw.wicourts.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/7 X-Sequence-Number: 20672 On 7/1/2010 2:08 PM, Kevin Grittner wrote: > David Kerr wrote: > >>> Have you checked the PostgreSQL log file for clues? If you're >>> not seeing what you need, you could tweak the logging to show >>> more. >> >> We're trying that, it's (of course) intermittent and happens after >> like 5 hours. so huge logfiles, etc as usual. With >> log_statements=none turned on PG logs database errors. so it seems >> like whatever's happening isn't being considered an "error". more >> of a natural database transaction (like a lock) or something. does >> that sound about right? > > Hmmm.... I was just guessing at the cause. With default logging, > if I do this: > > test=# begin; > BEGIN > test=# select foo; > ERROR: column "foo" does not exist > LINE 1: select foo; > ^ > test=# select 'foo'; > ERROR: current transaction is aborted, commands ignored until end > of transaction block > test=# commit; > ROLLBACK > > I see this in the log: > > ERROR: column "foo" does not exist at character 8 > STATEMENT: select foo; > ERROR: current transaction is aborted, commands ignored until end > of transaction block > STATEMENT: select 'foo'; > > If you aren't seeing something like that, I'm probably off-base in > my guess at the cause. Nothing else leaps to mind, unfortunately. > :-( > > -Kevin > Yeah nothing at all in the logs (literally, zero log events while the process runs with default logging). that's why i'm leaning towards something in the app. or maybe the XA driver. thanks! Dave