pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
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 15:02:00 -0700
Message-ID: <429CDED8.8010704@joeconway.com> (raw)
In-Reply-To: <7686.1117576683@sss.pgh.pa.us>
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>
	<7686.1117576683@sss.pgh.pa.us>

Tom Lane wrote:
> 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?
> 

I poked around a bit, and that was the best I could come up with. I'll 
take another look.

Joe



view thread (22+ messages)  latest in thread

Message-ID: <429CDED8.8010704@joeconway.com>
Permalink:  ../429CDED8.8010704@joeconway.com/
Also on:    postgresql.org/message-id/429CDED8.8010704@joeconway.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mail@joeconway.com, tgl@sss.pgh.pa.us, pgsql-patches@postgresql.org, twanger@bluetwanger.de
  Subject: Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp.
  In-Reply-To: <429CDED8.8010704@joeconway.com>

* 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