pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use exported symbols list on macOS for loadable modules as well
Date: Tue, 10 Jun 2025 05:14:42 +0000
Message-ID: <E1uOrJp-000y8E-35@gemulon.postgresql.org> (raw)

Use exported symbols list on macOS for loadable modules as well

On macOS, when building with the make system, the exported symbols
list $(SHLIB_EXPORTS) was ignored.  This was probably not intentional,
it was probably just forgotten, since that combination has never
actually been used until now (for libpq-oauth).

The meson build system handles this correctly.  Also, other platforms
have been doing this correctly.

This fixes it.  It also does a bit of refactoring to make the code
match the layout for other platforms.

Reviewed-by: Jacob Champion <jacob.champion@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/c70ca32e-b109-460d-9810-6e23ebb4473f%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3feff3916ee106c084eca848527dc2d2c3ef4e89

Modified Files
--------------
src/Makefile.shlib | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



Message-ID: <E1uOrJp-000y8E-35@gemulon.postgresql.org>
Permalink:  ../E1uOrJp-000y8E-35@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uOrJp-000y8E-35@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use exported symbols list on macOS for loadable modules as well
  In-Reply-To: <E1uOrJp-000y8E-35@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox