~ubuntu-branches/ubuntu/oneiric/libpgjava/oneiric

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2005-04-21 14:25:11 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050421142511-wibh5vc31fkrorx7
Tags: 7.4.7-3
Built with sources...

Show diffs side-by-side

added added

removed removed

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