From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Denis Feklushkin <denis.feklushkin@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: [Fwd: ERROR: cannot extract system attribute from minimal tuple]
Date: Wed, 09 Feb 2011 22:37:36 -0500
Message-ID: <9888.1297309056@sss.pgh.pa.us> (raw)
In-Reply-To: <1297299921-sup-8185@alvh.no-ip.org>
References: <1297281208.4165.0.camel@localhost>
<1297299921-sup-8185@alvh.no-ip.org>
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
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, alvherre@commandprompt.com, denis.feklushkin@gmail.com
Subject: Re: [Fwd: ERROR: cannot extract system attribute from minimal tuple]
In-Reply-To: <9888.1297309056@sss.pgh.pa.us>
References: <1297281208.4165.0.camel@localhost> <1297299921-sup-8185@alvh.no-ip.org> <9888.1297309056@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