Re: implement prepared queries in plperl - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: implement prepared queries in plperl
Date
Msg-id 4406260A.4070704@dunslane.net
Whole thread Raw
In response to Re: implement prepared queries in plperl  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: implement prepared queries in plperl  (Dmitry Karasik <dmitry@karasik.eu.org>)
List pgsql-patches
I am waiting for an update from Dmitry.

cheers

andrew

Bruce Momjian wrote:

>Is this patch going to be applied?
>
>---------------------------------------------------------------------------
>
>Andrew Dunstan wrote:
>
>
>>
>>
>>I have cleaned this patch somewhat by removing some bitrot that occurred
>>since it was submitted, and adjusting formatting to something more
>>closely resembling postgresql style (please remember to follow our style
>>in future).
>>
>>The attached works on HEAD and passes the supplied regression tests.
>>
>>But why do we have to call spi_freeplan? pltcl, which has prepared
>>queries, doesn't require this AFAICS. If memory leaks are an issue,
>>maybe we should bless the object into a class with a DESTROY method that
>>calls spi_freeplan automatically (not sure to do that in XS but I assume
>>it's possible).
>>
>>
>>


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: implement prepared queries in plperl
Next
From: Dmitry Karasik
Date:
Subject: Re: implement prepared queries in plperl