Lifetime of FmgrInfo

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Lifetime of FmgrInfo
Дата
Msg-id 20090417024933.GO437@eddie
обсуждение исходный текст
Ответы Re: Lifetime of FmgrInfo  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I was browsing PL/pgSQL source, and saw this line (pl_comp.c:151):

function = (PLpgSQL_function *) fcinfo->flinfo->fn_extra

It then does some work to determine whether the result in "function" is
valid or not. So I got to wondering, what's the lifetime of the
FunctionCallInfoinfo object passed to the call handler function? Or in
other words, what memory context is it in? And is there some way I could
find that out more easily than digging through the source?

- Josh / eggyknap

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: HashJoin w/option to unique-ify inner rel
Следующее
От: KaiGai Kohei
Дата:
Сообщение: [PATCH] unalias of ACL_SELECT_FOR_UPDATE