Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?
Дата
Msg-id 20180606125943.25yyr2g2oag3z4gr@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?  (Chapman Flack <chap@anastigmatix.net>)
Список pgsql-hackers
On 2018-06-05 17:11:17 -0400, Chapman Flack wrote:
> On 06/05/2018 04:57 PM, Andres Freund wrote:
> > But we don't really change the
> > collation of function invocations per-call. 
> 
> Is that true? (Not a rhetorical question; I'm unsure.)

Yes, it is at the moment.


> Is your argument that the expression's collation is determined once
> for each call /site/, and thereafter doesn't change over repeated
> invocations via any one call site, and a unique FmgrInfo is
> populated at each call site?

Yes, that's pretty much how it works.

Greetings,

Andres Freund


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: buildfarm vs code
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?