Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4F33BB5DBCD for ; Sun, 25 Sep 2011 17:00:22 -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 05637-02-2 for ; Sun, 25 Sep 2011 20:00:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 9BA33B5DBCE for ; Sun, 25 Sep 2011 17:00:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8PK09XG005292; Sun, 25 Sep 2011 16:00:10 -0400 (EDT) To: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6218: TRAP: FailedAssertion( "!(owner->nsnapshots == 0)", File: "resowner.c", Line: 365) In-reply-to: <20110923171026.2962F14A1BC@mail.netbsd.org> References: <24084.1316620680@sss.pgh.pa.us> <20110923171026.2962F14A1BC@mail.netbsd.org> Comments: In-reply-to yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) message dated "Fri, 23 Sep 2011 17:10:26 -0000" Date: Sun, 25 Sep 2011 16:00:09 -0400 Message-ID: <5291.1316980809@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/165 X-Sequence-Number: 31182 yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) writes: >> There isn't terribly much we can do with this report unless you can >> provide a complete test case to reproduce it. > after some investigation, i think it is triggered by protocol-level prepare > of ROLLBACK in an aborted transaction. does the following patch make sense? Maybe, but I'd still like to see a test case, because I can't reproduce any such problem by preparing ROLLBACK in an aborted transaction. regards, tom lane