summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-11-25 14:19:22 +0100
committerPeter Eisentraut <peter@eisentraut.org>2021-11-25 14:32:43 +0100
commit4339e10f090ec6b5ceb727c00e7a345cc9178e1e (patch)
tree9b4c2b93d4e5f5776ccc1971e0d49762a9d60913 /src
parent817c469c2a167518a7cb44a84c996c7d11a728e4 (diff)
Remove unneeded Python includes
Inluding <compile.h> and <eval.h> has not been necessary since Python 2.4, since they are included via <Python.h>. Morever, <eval.h> is being removed in Python 3.11. So remove these includes. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/84884.1637723223%40sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/pl/plpython/plpython.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pl/plpython/plpython.h b/src/pl/plpython/plpython.h
index 9a8e8f246da..bd564d706a0 100644
--- a/src/pl/plpython/plpython.h
+++ b/src/pl/plpython/plpython.h
@@ -121,9 +121,6 @@ typedef int Py_ssize_t;
#undef TEXTDOMAIN
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
-#include <compile.h>
-#include <eval.h>
-
/* put back our snprintf and vsnprintf */
#ifdef USE_REPL_SNPRINTF
#ifdef snprintf