aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plperl/eloglvl.c
blob: 3baf0279017a50b577d88a9da01df21b42361cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include "postgres.h"

/*
 * This kludge is necessary because of the conflicting
 * definitions of 'DEBUG' between postgres and perl.
 * we'll live.
 */

#include "eloglvl.h"

int
elog_DEBUG(void)
{
	return DEBUG2;
}

int
elog_LOG(void)
{
	return LOG;
}

int
elog_INFO(void)
{
	return INFO;
}

int
elog_NOTICE(void)
{
	return NOTICE;
}

int
elog_WARNING(void)
{
	return WARNING;
}

int
elog_ERROR(void)
{
	return ERROR;
}