Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp.

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp.
Дата
Msg-id 429CDED8.8010704@joeconway.com
обсуждение исходный текст
Ответ на Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp. {}  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp. {}
Следующее
От: Pavel Stehule
Дата:
Сообщение: patch for between symmetric, asymmetric (from TODO)