Joshua Tolley writes:
> 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?
Query lifespan, usually. There are counterexamples on both sides,
b
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