aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plperl/eloglvl.c
blob: 23289479cd574d4308b3501b20be6a8fa2010eeb (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
#include "postgres.h"

#include "utils/elog.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 LOG;
}

int
elog_ERROR(void)
{
	return ERROR;
}

int
elog_NOTICE(void)
{
	return NOTICE;
}