PostgreSQL Source Code
git master
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
plpython.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* plpython.h - Python as a procedural language for PostgreSQL
4
*
5
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
6
* Portions Copyright (c) 1994, Regents of the University of California
7
*
8
* src/pl/plpython/plpython.h
9
*
10
*-------------------------------------------------------------------------
11
*/
12
#ifndef PLPYTHON_H
13
#define PLPYTHON_H
14
15
/* postgres.h needs to be included before Python.h, as usual */
16
#if !defined(POSTGRES_H)
17
#error postgres.h must be included before plpython.h
18
#elif defined(Py_PYTHON_H)
19
#error Python.h must be included via plpython.h
20
#endif
21
22
/*
23
* Pull in Python headers via a wrapper header, to control the scope of
24
* the system_header pragma therein.
25
*/
26
#include "
plpython_system.h
"
27
28
/* define our text domain for translations */
29
#undef TEXTDOMAIN
30
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython"
)
31
32
/*
33
* Used throughout, so it's easier to just include it everywhere.
34
*/
35
#include "
plpy_util.h
"
36
37
#endif
/* PLPYTHON_H */
plpy_util.h
plpython_system.h
src
pl
plpython
plpython.h
Generated on Tue Dec 3 2024 18:13:26 for PostgreSQL Source Code by
1.9.1