1 /*-------------------------------------------------------------------------
4 * Common include file for PL/Perl files
6 * This should be included _AFTER_ postgres.h and system include files
8 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1995, Regents of the University of California
17 /* stop perl headers from hijacking stdio and other stuff on Windows */
19 #define WIN32IO_IS_STDIO
21 * isnan is defined in both the perl and mingw headers. We don't use it,
22 * so this just clears up the compile warning.
29 /* required for perl API */
35 /* just in case these symbols aren't provided */
41 /* perl may have a different width of "bool", don't buy it */
46 /* routines from spi_internal.c */
51 int spi_WARNING(void);
54 /* routines from plperl.c */
55 HV
*plperl_spi_exec(char *, int);
56 void plperl_return_next(SV
*);
57 SV
*plperl_spi_query(char *);
58 SV
*plperl_spi_fetchrow(char *);
59 SV
*plperl_spi_prepare(char *, int, SV
**);
60 HV
*plperl_spi_exec_prepared(char *, HV
*, int, SV
**);
61 SV
*plperl_spi_query_prepared(char *, int, SV
**);
62 void plperl_spi_freeplan(char *);
63 void plperl_spi_cursor_close(char *);
67 #endif /* PL_PERL_H */