aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-03-08 09:47:34 -0800
committerAndres Freund <andres@anarazel.de>2022-03-08 09:47:34 -0800
commit54c72eb5e5e63f99f68c054900424724b0570b20 (patch)
tree403444bfee592d906b7bc44768784b5aa1d3983f /src
parent1d4be6be65ab18aa3b240d9bc912ebece255c53b (diff)
downloadpostgresql-54c72eb5e5e63f99f68c054900424724b0570b20.tar.gz
postgresql-54c72eb5e5e63f99f68c054900424724b0570b20.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/pl/plpython/plpy_plpymodule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pl/plpython/plpy_plpymodule.h b/src/pl/plpython/plpy_plpymodule.h
index ad6436aca78..1ca3823daf2 100644
--- 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 */