Jorge Arevalo <jorgearevalo@xxxxxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general