Jorge Arevalo <jorgearevalo(at)gis4free(dot)org> writes:
> My doubt is if I'm doing things right getting all the stuff I need (an
> array) in the first call, pointing user_fctx to this array and
> accessing myStructsArray[call_cntr] in each successive call, until
> myStructsArray + call_cntr == NULL (last array element?).
Sounds reasonable enough. Is it not working for you? Maybe you need
to be careful about which memory context the array is created in.
regards, tom lane