Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / pl / plperl / spi_internal.c
blob1bb82b01566f09a292c20dd996e4d67044d3c702
1 /*
2 * $PostgreSQL$
5 * This kludge is necessary because of the conflicting
6 * definitions of 'DEBUG' between postgres and perl.
7 * we'll live.
8 */
10 #include "postgres.h"
11 /* Defined by Perl */
12 #undef _
14 /* perl stuff */
15 #include "plperl.h"
17 int
18 spi_DEBUG(void)
20 return DEBUG2;
23 int
24 spi_LOG(void)
26 return LOG;
29 int
30 spi_INFO(void)
32 return INFO;
35 int
36 spi_NOTICE(void)
38 return NOTICE;
41 int
42 spi_WARNING(void)
44 return WARNING;
47 int
48 spi_ERROR(void)
50 return ERROR;