Re: meson PGXS compatibility

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Nazir Bilal Yavuz <byavuz81@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-10-06T09:34:26Z
Lists: pgsql-hackers
On 05.10.22 22:07, Andres Freund wrote:
> My colleague Bilal has set up testing and verified that a few extensions build
> with the pgxs compatibility layer, on linux at last. Currently pg_qualstats,
> pg_cron, hypopg, orafce, postgis, pg_partman work. He also tested pgbouncer,
> but for him that failed both with autoconf and meson generated pgxs.

pgbouncer doesn't use pgxs.



Commits

  1. meson: Add basic PGXS compatibility

  2. autoconf: Move export_dynamic determination to configure

  3. autoconf: Don't AC_SUBST() LD in configure

  4. autoconf: Unify CFLAGS_SSE42 and CFLAGS_ARMV8_CRC32C

  5. autoconf: Rely on ar supporting index creation