DirectFunctionCall3 and array_in

Поиск
Список
Период
Сортировка
От Ashish Kamra
Тема DirectFunctionCall3 and array_in
Дата
Msg-id 491CCBF5.9020304@purdue.edu
обсуждение исходный текст
Ответы Re: DirectFunctionCall3 and array_in  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I was trying to call the array_in() function using the 
DirectFunctionCall3() interface. It fails as the code in array_in() 
tries to refer to fcinfo->flinfo->fnextra where flinfo is set to NULL by 
the DirectFunctionCall3() interface. I am not sure if this is a bug or 
that we are not supposed to use DirectFunctionCall3 to call array_in.

Anyway, I debugged some array related to queries to find that the 
following function sequence is used to call array_in

...
OidInputFunctionCall
InputFunctionCall
...

For the time being I will use this, but can someone clarify if what I 
stated above is a problem?

Thanks,
Ashish


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

Предыдущее
От: "Robert Haas"
Дата:
Сообщение: Re: Updated posix fadvise patch v19
Следующее
От: "Robert Haas"
Дата:
Сообщение: Re: Updated posix fadvise patch v19