Re: [Fwd: ERROR: cannot extract system attribute from minimal tuple] - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [Fwd: ERROR: cannot extract system attribute from minimal tuple]
Date
Msg-id 9888.1297309056@sss.pgh.pa.us
Whole thread Raw
In response to Re: [Fwd: ERROR: cannot extract system attribute from minimal tuple]  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-bugs
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Hmm, yeah, in an assert-enabled build of HEAD it dies with:

> TRAP: FailedAssertion(«!(attno > 0)», Archivo: «/pgsql/source/HEAD/src/backend/executor/execJunk.c», Línea: 251)

> I don't have time to track this down right now ...

It's a shortcoming in the PlanRowMark+resjunk column data structure:
when we flatten subqueries, the rangetable indexes of the relations
to be row-locked can change, but the resjunk column names already
assigned to represent their ctid's aren't updated.  Working on a
fix now.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Jeff Davis
Date:
Subject: possible bug: orphaned files left after immediate shutdown during DDL
Next
From: Tom Lane
Date:
Subject: Re: possible bug: orphaned files left after immediate shutdown during DDL