mirror of
https://github.com/postgres/postgres.git
synced 2026-02-10 22:33:50 -05:00
The include was missing before 9b7e24a2cb, but starting with that commit the
missing include causes cpluspluscheck to fail because the use of
PyMODINIT_FUNC isn't incidentally protected by an ifdef anymore.
Discussion: https://postgr.es/m/20220308045916.7baapelbgftoqeop@alap3.anarazel.de
18 lines
358 B
C
18 lines
358 B
C
/*
|
|
* src/pl/plpython/plpy_plpymodule.h
|
|
*/
|
|
|
|
#ifndef PLPY_PLPYMODULE_H
|
|
#define PLPY_PLPYMODULE_H
|
|
|
|
#include "plpython.h"
|
|
#include "utils/hsearch.h"
|
|
|
|
/* A hash table mapping sqlstates to exceptions, for speedy lookup */
|
|
extern HTAB *PLy_spi_exceptions;
|
|
|
|
|
|
PyMODINIT_FUNC PyInit_plpy(void);
|
|
extern void PLy_init_plpy(void);
|
|
|
|
#endif /* PLPY_PLPYMODULE_H */
|