~ubuntu-branches/ubuntu/gutsy/libpgjava/gutsy

« back to all changes in this revision

Viewing changes to src/pl/plperl/SPI.xs

  • 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
/* this must be first: */
 
2
#include "postgres.h"
 
3
 
 
4
/* perl stuff */
 
5
#include "EXTERN.h"
 
6
#include "perl.h"
 
7
#include "XSUB.h"
 
8
 
 
9
#include "eloglvl.h"
 
10
 
 
11
 
 
12
 
 
13
MODULE = SPI PREFIX = elog_
 
14
 
 
15
PROTOTYPES: ENABLE
 
16
VERSIONCHECK: DISABLE
 
17
 
 
18
void
 
19
elog_elog(level, message)
 
20
        int level
 
21
        char* message
 
22
        CODE:
 
23
        elog(level, message);
 
24
 
 
25
 
 
26
int
 
27
elog_DEBUG()
 
28
 
 
29
int
 
30
elog_LOG()
 
31
 
 
32
int
 
33
elog_INFO()
 
34
 
 
35
int
 
36
elog_NOTICE()
 
37
 
 
38
int
 
39
elog_WARNING()
 
40
 
 
41
int
 
42
elog_ERROR()
 
43
 
 
44