From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: Patches (PostgreSQL) <pgsql-patches@postgresql.org>
Cc: Markus Bertheau <twanger@bluetwanger.de>
Subject: Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp. {}
Date: Tue, 31 May 2005 17:58:03 -0400
Message-ID: <7686.1117576683@sss.pgh.pa.us> (raw)
In-Reply-To: <429CD7A4.7020702@joeconway.com>
References: <1116873219.7306.0.camel@localhost.localdomain>
<42923762.7010708@joeconway.com>
<16774.1116907560@sss.pgh.pa.us>
<42961E44.7040701@joeconway.com>
<429CD7A4.7020702@joeconway.com>
Joe Conway <mail@joeconway.com> writes:
>> + Oid element_type = planstate->ps_ResultTupleSlot->tts_tupleDescriptor->attrs[0]->atttypid;
Hmm, that makes me itch ... it seems like unwarranted familiarity with
the innards of the subplan; not only as to where it keeps things, but
when things have been initialized. Perhaps we have no choice, but isn't
the datatype available on the current plan level?
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, mail@joeconway.com, pgsql-patches@postgresql.org, twanger@bluetwanger.de
Subject: Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp. {}
In-Reply-To: <7686.1117576683@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