Re: Python 3.11 vs. Postgres

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2021-11-24T07:24:52Z
Lists: pgsql-hackers

Attachments

On 24.11.21 04:07, Tom Lane wrote:
> According to [1], we need to stop including Python's <eval.h>.
> I've not checked whether this creates any backwards-compatibility
> issues.
> 
> 			regards, tom lane
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=2023272

See attached patch.  The minimum Python version for this change is 2.4, 
which is the oldest version supported by PG10, so we can backpatch this 
to all live branches.

Commits

  1. Remove unneeded Python includes