Remove pg_regex_collation
[pgsql.git] / src / pl / plpython / plpython.h
blobd929afefc33e897a48e994cc482bab2c92afd27a
1 /*-------------------------------------------------------------------------
3 * plpython.h - Python as a procedural language for PostgreSQL
5 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
6 * Portions Copyright (c) 1994, Regents of the University of California
8 * src/pl/plpython/plpython.h
10 *-------------------------------------------------------------------------
12 #ifndef PLPYTHON_H
13 #define PLPYTHON_H
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
23 * Pull in Python headers via a wrapper header, to control the scope of
24 * the system_header pragma therein.
26 #include "plpython_system.h"
28 /* define our text domain for translations */
29 #undef TEXTDOMAIN
30 #define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
33 * Used throughout, so it's easier to just include it everywhere.
35 #include "plpy_util.h"
37 #endif /* PLPYTHON_H */