projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4be6b
)
plpython: add missing plpython.h include to plpy_plpymodule.h
author
Andres Freund
<andres@anarazel.de>
Tue, 8 Mar 2022 17:47:34 +0000
(09:47 -0800)
committer
Andres Freund
<andres@anarazel.de>
Tue, 8 Mar 2022 17:47:34 +0000
(09:47 -0800)
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
src/pl/plpython/plpy_plpymodule.h
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plpython/plpy_plpymodule.h
b/src/pl/plpython/plpy_plpymodule.h
index ad6436aca7841ad1ad92c8660ae837a0c3563fad..1ca3823daf283027ba76d478375caf951e67abce 100644
(file)
--- a/
src/pl/plpython/plpy_plpymodule.h
+++ b/
src/pl/plpython/plpy_plpymodule.h
@@
-5,6
+5,7
@@
#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 */