Ashish Kamra <[EMAIL PROTECTED]> writes: > I was trying to call the array_in() function using the > DirectFunctionCall3() interface. It fails as the code in array_in() > tries to refer to fcinfo->flinfo->fnextra where flinfo is set to NULL by > the DirectFunctionCall3() interface. I am not sure if this is a bug or > that we are not supposed to use DirectFunctionCall3 to call array_in.
You should be using InputFunctionCall to invoke any datatype input function. There are plenty of examples to follow in the standard PLs. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers