> You may not even need to add any fields to FuncCallContext --- consider > passing the fcinfo pointer to the callback, rather than passing the > FuncCallContext pointer.
Dept. of second thoughts: better pass the flinfo pointer, instead. fcinfo might point to temporary space on the stack. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match