aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plperl/eloglvl.c
blob: 03353a103e342bfb877473004264cec8def6170c (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 DEBUG;
}

int
elog_ERROR(void)
{
	return ERROR;
}

int
elog_NOTICE(void)
{
	return NOTICE;
}