mirror of
https://github.com/postgres/postgres.git
synced 2025-06-07 00:02:00 -04:00
plpython: add missing plpython.h include to plpy_plpymodule.h
The include was missing before 9b7e24a2cb3, 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
This commit is contained in:
parent
1d4be6be65
commit
54c72eb5e5
@ -5,6 +5,7 @@
|
|||||||
#ifndef PLPY_PLPYMODULE_H
|
#ifndef PLPY_PLPYMODULE_H
|
||||||
#define PLPY_PLPYMODULE_H
|
#define PLPY_PLPYMODULE_H
|
||||||
|
|
||||||
|
#include "plpython.h"
|
||||||
#include "utils/hsearch.h"
|
#include "utils/hsearch.h"
|
||||||
|
|
||||||
/* A hash table mapping sqlstates to exceptions, for speedy lookup */
|
/* A hash table mapping sqlstates to exceptions, for speedy lookup */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user