Re: Using LibPq in TAP tests via FFI

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Using LibPq in TAP tests via FFI
Date: 2024-06-17 01:41:40
Message-ID: CA+hUKGKVHNGGUhWX1VdHGRy98bNdYx2cYybToDD5vXPBGxL18A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 17, 2024 at 1:36 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> Perhaps it's technically possible to build Python without the ctypes
> module, but I'm not sure and I don't see anywhere that describes it
> explicitly as optional.

One clue is that they used to bundle their own copy of libffi before
Python 3.7. You had a choice of that or --with-system-ffi, but I
don't see an option for none. I might be missing something about
their build system, though.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2024-06-17 03:24:09 minor doc change in src/sgml/xfunc.sgml
Previous Message Thomas Munro 2024-06-17 01:36:24 Re: Using LibPq in TAP tests via FFI