"David E. Wheeler" <david(at)kineticode(dot)com> writes:> Here's the complete code:
Looks like you forgot PG_FUNCTION_INFO_V1(), so what's being passed tothis isn't an fcinfo ...
regards, tom lane