From: | Dmitry Karasik <dmitry(at)karasik(dot)eu(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | prepared queries in plperl |
Date: | 2005-07-15 15:17:01 |
Message-ID: | 20050715151701.GA86672@tetsuo.karasik.eu.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Abhijit Menon-Sen | 2005-07-15 15:31:46 | Re: prepared queries in plperl |
Previous Message | Stephan Szabo | 2005-07-15 14:59:17 | Re: [Bizgres-general] A Guide to Constraint Exclusion |