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
Ответ на
Список
Дерево обсуждения
Why is fncollation in FunctionCallInfoData rather than fmgr_info? Andres Freund <andres@anarazel.de>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Chapman Flack <chap@anastigmatix.net>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Andres Freund <andres@anarazel.de>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Andres Freund <andres@anarazel.de>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Andres Freund <andres@anarazel.de>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Andres Freund <andres@anarazel.de>
Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info? Tom Lane <tgl@sss.pgh.pa.us>
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
Дата:
FAQ