Re: WIP patch: convert SQL-language functions to return tuplestores

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: WIP patch: convert SQL-language functions to return tuplestores
Дата
Msg-id 200810291754.52760.dfontaine@hi-media.com
обсуждение исходный текст
Ответ на Re: WIP patch: convert SQL-language functions to return tuplestores  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WIP patch: convert SQL-language functions to return tuplestores  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Le mercredi 29 octobre 2008, Tom Lane a écrit :
> Now of course the bigger problem with either this syntax or yours is
> that attaching such a property to a function is arguably the Wrong Thing
> in the first place.  Which one is the best way is likely to depend on
> the calling query more than it does on the function.

Let the planner figure this out, and add in some starting cost considerations
too maybe? That sounds even better, yes.

> However, I see no
> solution to that problem except function inlining; and if the function
> gets inlined then all this discussion is moot anyhow.

How to inline PLs functions?
--
dim

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

Предыдущее
От: David Fetter
Дата:
Сообщение: pre-MED
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: pre-MED