Re: RangeTblEntry modifications

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема Re: RangeTblEntry modifications
Дата
Msg-id Pine.BSO.4.10.10106301959350.7004-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на Re: RangeTblEntry modifications  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: RangeTblEntry modifications  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 30 Jun 2001, Tom Lane wrote:

> I'm not sure I buy this, however.  You'll need an actual
> RTE-as-function-call variant that has the function OID and compiled list
> of arguments.  Remember that the parsetree may live a lot longer than
> any specific Portal.  For a function call, we'll need to build the
> Portal from the function-call-describing RTE at the start of execution,
> not during parsing.

I think I just understood what you were saying: having tupleDesc in RTE is
not kosher, because RTE can last longer than a given tupleDesc?

So, essentially I will need to extract attnames/atttypes from TupleDesc
and store them separately...

Or I'm totally off my rocker?



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

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: RangeTblEntry modifications
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RangeTblEntry modifications