Re: TupleDescInitEntry failing to initialize varlen members

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TupleDescInitEntry failing to initialize varlen members
Дата
Msg-id 20167.1322779413@sss.pgh.pa.us
обсуждение исходный текст
Ответ на TupleDescInitEntry failing to initialize varlen members  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I just noticed in gdb that TupleDescInitEntry does not initialize
> attacl, attoptions, attfdwoptions.

Indeed not, because it's not building a tuple.  It's building an array
of C structs, and there's nothing useful to do with those fields.

(Robert's proposal to not even have such fields be C-visible might make
you feel better.)
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: patch for type privileges
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: to_date() marked stable?