diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2006-03-05 16:40:51 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2006-03-05 16:40:51 +0000 |
commit | 5d723d05c04fc0f589d4bb5ecb8780c4c0cb4302 (patch) | |
tree | f135c9d20eb78d206ab0f4b9fcec2a4c7ebb7105 /src/pl/plperl/plperl.h | |
parent | f2f5b05655afa80377757a2c335c01b28de24429 (diff) |
Prepared queries for PLPerl, plus fixing a small plperl memory leak. Patch
and docs from Dmitry Karasik, slightly editorialised.
Diffstat (limited to 'src/pl/plperl/plperl.h')
-rw-r--r-- | src/pl/plperl/plperl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pl/plperl/plperl.h b/src/pl/plperl/plperl.h index c9fd56ca040..53c7b164faf 100644 --- a/src/pl/plperl/plperl.h +++ b/src/pl/plperl/plperl.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1995, Regents of the University of California * - * $PostgreSQL: pgsql/src/pl/plperl/plperl.h,v 1.3 2006/03/05 15:59:10 momjian Exp $ + * $PostgreSQL: pgsql/src/pl/plperl/plperl.h,v 1.4 2006/03/05 16:40:51 adunstan Exp $ */ #ifndef PL_PERL_H @@ -51,6 +51,12 @@ HV *plperl_spi_exec(char *, int); void plperl_return_next(SV *); SV *plperl_spi_query(char *); SV *plperl_spi_fetchrow(char *); +SV *plperl_spi_prepare(char *, int, SV **); +HV *plperl_spi_exec_prepared(char *, HV *, int, SV **); +SV *plperl_spi_query_prepared(char *, int, SV **); +void plperl_spi_freeplan(char *); +void plperl_spi_cursor_close(char *); + #endif /* PL_PERL_H */ |