prepared queries in plperl - Mailing list pgsql-hackers

From Dmitry Karasik
Subject prepared queries in plperl
Date
Msg-id 20050715151701.GA86672@tetsuo.karasik.eu.org
Whole thread Raw
Responses Re: prepared queries in plperl
List pgsql-hackers
Hi,

I needed prepared queries in plperl, but there's none, so I baked a patch that
defines two extra perl functions, spi_prepare and spi_exec_prepared, and it
seems to work more-less ok. The patch is here,
  http://www.karasik.eu.org/misc/plperl.diff

but it's not in any way a final patch; having no previous experience with
postgres server programming there's a fat chance I forgot or misplaced
something, especially that most of it is copy-pasted from plperl.c and pltcl.c
.  I would like to ask if someone could review it, so I could reshape it into
something more appropriate for including into -devel.

-- 
Thanks,Dmitry Karasik

---
catpipe Systems ApS
*BSD solutions, consulting, development
www.catpipe.net
+45 7021 0050  


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [Bizgres-general] A Guide to Constraint Exclusion
Next
From: Abhijit Menon-Sen
Date:
Subject: Re: prepared queries in plperl