Re: How PG_FUNCTION_ARG works in PG

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How PG_FUNCTION_ARG works in PG
Дата
Msg-id 18496.1128610933@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How PG_FUNCTION_ARG works in PG  (sandeep satpal <sandeep@it.iitb.ac.in>)
Список pgsql-hackers
sandeep satpal <sandeep@it.iitb.ac.in> writes:
> Whenever a function get called it receive one parameter 
> as
> PG_FUNCTION_ARG ( as in nbtcompare.c )
> I am not getting how it is interpreted and how it is used ??

It's a pointer to a struct containing the actual arguments.
You might find it helpful to read src/backend/utils/fmgr/README
which is old but still accurate.
        regards, tom lane


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

Предыдущее
От: sandeep satpal
Дата:
Сообщение: How PG_FUNCTION_ARG works in PG
Следующее
От: "smile khmer"
Дата:
Сообщение: Re: PG function call