| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | Bryan Green <dbryan(dot)green(at)gmail(dot)com>, Jakob Egger <jakob(at)eggerapps(dot)at> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Use Python "Limited API" in PL/Python |
| Date: | 2026-01-05 07:53:33 |
| Message-ID: | 59099123-c375-4a1c-bd24-83ff2bac31a2@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 02.01.26 18:40, Bryan Green wrote:
> I have a patch that works around this by manually constructing the
> Python dependency on MSVC to use python3.lib instead of python3XX.lib,
> using cc.find_library('python3') and building the dependency with the
> appropriate include directory. It passes CI when I push. I'll see what
> cfbot thinks.
>
> Still testing, but wanted to share progress and get feedback on the
> approach.
This approach seems fine to me. I suppose one question would be whether
it would be worth using that same approach on all platforms rather than
just on windows/msvc. That way we only have one code path to maintain.
But I'm not sure how easy that would be to achieve.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-01-05 07:55:08 | Re: Use Python "Limited API" in PL/Python |
| Previous Message | Hayato Kuroda (Fujitsu) | 2026-01-05 07:40:45 | RE: Parallel Apply |