"Tao Ma" <feng_eden(at)163(dot)com> writes:
> When I read the postgresql codes, I noticed that the FunctionCallInfoData
> structure(declared in the src/include/fmgr.h) contains two arrays 'arg' and
> 'argnull'.
> Why don't you declare it as a pointer and allocate the memory from
> heap?
Speed. We spend enough cycles in palloc already.
regards, tom lane