Обсуждение: Python 3.11 vs. Postgres

Поиск
Список
Период
Сортировка

Python 3.11 vs. Postgres

От
Tom Lane
Дата:
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



Re: Python 3.11 vs. Postgres

От
Peter Eisentraut
Дата:
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.
Вложения

Re: Python 3.11 vs. Postgres

От
Tom Lane
Дата:
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> On 24.11.21 04:07, Tom Lane wrote:
>> According to [1], we need to stop including Python's <eval.h>.

> 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.

LGTM.  Tested with v10 and prairiedog's Python 2.4.1.

            regards, tom lane