Thomas Hallgren <[EMAIL PROTECTED]> writes: > The thing that makes me a bit confused is the > ArrayMetaState. The functions obtain it using:
> my_extra = (ArrayMetaState *) fcinfo->flinfo->fn_extra; > which is fine if there's only one array parameter. What happens if I > have two? Make a struct that can hold two ArrayMetaStates. Or whatever else you need. What a C function keeps in fn_extra is its own affair. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster