Re: BUG #5989: Assertion failure on UPDATE of big value - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5989: Assertion failure on UPDATE of big value
Date
Msg-id 26153.1303309604@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5989: Assertion failure on UPDATE of big value  ("Marko Tiikkaja" <marko.tiikkaja@2ndquadrant.com>)
Responses Re: BUG #5989: Assertion failure on UPDATE of big value  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
"Marko Tiikkaja" <marko.tiikkaja@2ndquadrant.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

pgsql-bugs by date:

Previous
From: "Marko Tiikkaja"
Date:
Subject: BUG #5989: Assertion failure on UPDATE of big value
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5989: Assertion failure on UPDATE of big value