Re: BUG #5989: Assertion failure on UPDATE of big value

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marko Tiikkaja" <marko(dot)tiikkaja(at)2ndquadrant(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Subject: Re: BUG #5989: Assertion failure on UPDATE of big value
Date: 2011-04-20 14:26:44
Message-ID: 26153.1303309604@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Marko Tiikkaja" <marko(dot)tiikkaja(at)2ndquadrant(dot)com> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2011-04-20 14:46:44 Re: BUG #5989: Assertion failure on UPDATE of big value
Previous Message Marko Tiikkaja 2011-04-20 14:11:24 BUG #5989: Assertion failure on UPDATE of big value