~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/pl/plperl/spi_internal.c

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This kludge is necessary because of the conflicting
 
3
 * definitions of 'DEBUG' between postgres and perl.
 
4
 * we'll live.
 
5
 */
 
6
 
 
7
#include "postgres.h"
 
8
 
 
9
#include "spi_internal.h"
 
10
 
 
11
 
 
12
int
 
13
spi_DEBUG(void)
 
14
{
 
15
        return DEBUG2;
 
16
}
 
17
 
 
18
int
 
19
spi_LOG(void)
 
20
{
 
21
        return LOG;
 
22
}
 
23
 
 
24
int
 
25
spi_INFO(void)
 
26
{
 
27
        return INFO;
 
28
}
 
29
 
 
30
int
 
31
spi_NOTICE(void)
 
32
{
 
33
        return NOTICE;
 
34
}
 
35
 
 
36
int
 
37
spi_WARNING(void)
 
38
{
 
39
        return WARNING;
 
40
}
 
41
 
 
42
int
 
43
spi_ERROR(void)
 
44
{
 
45
        return ERROR;
 
46
}