Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DDF601337BD5 for ; Wed, 20 Apr 2011 11:27:05 -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 93554-01 for ; Wed, 20 Apr 2011 14:26:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id EFC121337BB7 for ; Wed, 20 Apr 2011 11:26:47 -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 p3KEQjRR026154; Wed, 20 Apr 2011 10:26:45 -0400 (EDT) To: "Marko Tiikkaja" cc: pgsql-bugs@postgresql.org, "Kevin Grittner" Subject: Re: BUG #5989: Assertion failure on UPDATE of big value In-reply-to: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org> References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org> Comments: In-reply-to "Marko Tiikkaja" message dated "Wed, 20 Apr 2011 14:11:24 +0000" Date: Wed, 20 Apr 2011 10:26:44 -0400 Message-ID: <26153.1303309604@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/145 X-Sequence-Number: 30064 "Marko Tiikkaja" writes: > =# create table foo(a int[]); > CREATE TABLE > =# insert into foo select array(select i from generate_series(1,10000) i); > INSERT 0 1 > =# update foo set a = a||1; > TRAP: FailedAssertion("!(((bool) (((void*)(&(newTuple->t_self)) != ((void > *)0)) && ((&(newTuple->t_self))->ip_posid != 0))))", File: "predicate.c", > Line: 2282) Reproduced here. Why is predicate.c getting called at all when transaction_isolation is not SERIALIZABLE? (Although the same crash happens when it is ...) regards, tom lane