Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?
Дата
Msg-id 87in6vwtzo.fsf@news-spur.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?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
>>>>> "Andres" == Andres Freund <andres@anarazel.de> writes:

 Andres> I think it's not unreasonable to think of it that way, but it's
 Andres> really not how it is used today. In pretty much all cases the
 Andres> collation is known and determined at the time fmgr_info() is
 Andres> called (we also commonly reuse FunctionCallInfoData structs).

The obvious case which is not one of those "pretty much all cases" is
where DirectFunctionCallN[Coll] is used - which turns out to be not all
that unusual.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: SCRAM with channel binding downgrade attack
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: SCRAM with channel binding downgrade attack