Remove unneeded Python includes
authorPeter Eisentraut
Thu, 25 Nov 2021 13:19:22 +0000 (14:19 +0100)
committerPeter Eisentraut
Thu, 25 Nov 2021 13:30:12 +0000 (14:30 +0100)
Inluding  and  has not been necessary since Python
2.4, since they are included via .  Morever,  is
being removed in Python 3.11.  So remove these includes.

Reviewed-by: Tom Lane
Discussion: https://www.postgresql.org/message-id/flat/84884.1637723223%40sss.pgh.pa.us

src/pl/plpython/plpython.h

index 994457b37d62e34d657c7c8c186fd63abc183f8b..ae1275afe2e94b92048de7bee66bd4db18fda02f 100644 (file)
@@ -94,9 +94,6 @@
 #undef TEXTDOMAIN
 #define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
 
-#include 
-#include 
-
 /* put back our *printf macros ... this must match src/include/port.h */
 #ifdef vsnprintf
 #undef vsnprintf