[PATCH] pl: fix can not build free-thread for plpython extension like 3.14t

From: 洪伊 <zouzou0208(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] pl: fix can not build free-thread for plpython extension like 3.14t
Date: 2026-01-16 02:36:38
Message-ID: CAFDmy2xkZM5VOweB4Tjq_K2wgA7HN-Ok70f1aX_rCbhXHYp4vg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi dear hackers:

This patch fix can not build plpython for free-thread python like
python3.14t
which 3.14t is maintain in cpython team

for the doc:
https://github.com/python/cpython/blob/1857a40807daeae3a1bf5efb682de9c9ae6df845/Doc/howto/free-threading-extensions.rst#building-extensions-for-the-free-threaded-build

it needs to open the py_limited_api for free-thread build

Thanks
Hong Yi

Attachment Content-Type Size
v1-0001-Fix-PL-Python-build-with-Python-3.13-3.14-free-th.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-01-16 02:36:55 Re: Buffer locking is special (hints, checksums, AIO writes)
Previous Message Hayato Kuroda (Fujitsu) 2026-01-16 02:26:19 RE: code contributions for 2025, WIP version