Re: Anyone particularly wedded to func_tlist mechanism?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Anyone particularly wedded to func_tlist mechanism?
Дата
Msg-id 200008032322.TAA01683@candle.pha.pa.us
обсуждение исходный текст
Ответ на Anyone particularly wedded to func_tlist mechanism?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I propose removing the tlist from function-call nodes.  To handle field
> selection, we should instead invent a separate "FieldSelect" expression
> operator that is applied to the result of the function call, or perhaps
> someday other kinds of expressions that can return tuples.  Aside from
> saving space, we'll be able to cleanly represent both the result type of
> the function (ie, the tuple datatype) and the type of the field (which
> will be the result of the FieldSelect node).  Right now there's only one
> node field that represents the result type of the function call, so we
> can't remember the actual result type of the function call itself.

I totally agree.  That structure is very confusing, and it is hard to
know what they mean.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Anyone particularly wedded to func_tlist mechanism?
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: Raw constraint & pg_relcheck.rcsrc