Re: Python setof patch - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: Python setof patch
Date
Msg-id 42CAC8BB.4000206@dunslane.net
Whole thread Raw
In response to Re: Python setof patch  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Python setof patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches

Michael Fuhr wrote:

>On Tue, Jul 05, 2005 at 01:14:25PM -0400, Tom Lane wrote:
>
>
>>Aside from minor problems like being broken and undocumented, there is a
>>more serious question here: is this even the functionality we want?
>>
>>
>
>I'd rather see something akin to PL/pgSQL's RETURN NEXT or PL/Perl's
>return_next.
>
>
>

Agreed. My rudimentary testing shows that plperl's shiny new return_next
functionality not only avoids memory blowup but has a 40% speed
improvement over the old 'return the lot at once' API.

cheers

andrew

pgsql-patches by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Python setof patch
Next
From: Bruce Momjian
Date:
Subject: Re: Python setof patch