pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marko Tiikkaja <marko.tiikkaja@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Subject: Re: BUG #5989: Assertion failure on UPDATE of big value
Date: Wed, 20 Apr 2011 10:26:44 -0400
Message-ID: <26153.1303309604@sss.pgh.pa.us> (raw)
In-Reply-To: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org>
References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org>

"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



view thread (18+ messages)  latest in thread

Message-ID: <26153.1303309604@sss.pgh.pa.us>
Permalink:  ../26153.1303309604@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26153.1303309604@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, marko.tiikkaja@2ndquadrant.com, Kevin.Grittner@wicourts.gov
  Subject: Re: BUG #5989: Assertion failure on UPDATE of big value
  In-Reply-To: <26153.1303309604@sss.pgh.pa.us>
  References: <201104201411.p3KEBOfA009414@wwwmaster.postgresql.org> <26153.1303309604@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox