Thread: pgsql: Remove unneeded Python includes

pgsql: Remove unneeded Python includes

From
Peter Eisentraut
Date:
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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a83b1bab0bdb341f952fc982899be70284c11bdc

Modified Files
--------------
src/pl/plpython/plpython.h | 3 ---
1 file changed, 3 deletions(-)