Re: Writing SRF

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jorge Arevalo <jorgearevalo(at)gis4free(dot)org>
Cc: PostgreSQL - General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Writing SRF
Date: 2010-04-28 20:43:44
Message-ID: 9346.1272487424@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ๏̯͡๏ Guido Barosio 2010-04-28 22:03:07 Re: Sobre PGday Latinoamericano 2011...
Previous Message Merlin Moncure 2010-04-28 20:33:27 Re: Populate arrays from multiple rows