Tom Lane wrote:
Joe Conway <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
     joining column's datatypes do not match

Reply via email to