pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
Date
Msg-id E1spSit-0014xj-9x@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

Latest versions of Strawberry Perl define USE_THREAD_SAFE_LOCALE, and we
therefore get a handshake error when building against such instances.
The solution is to perform a test to see if USE_THREAD_SAFE_LOCALE is
defined and only define NO_THREAD_SAFE_LOCALE if it isn't.

Backpatch the meson.build fix back to release 16 and apply the same
logic to Mkvcbuild.pm in releases 12 through 16.

Original report of the issue from Muralikrishna Bandaru.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/17c35ab236980fce2989f7fac7cee42ca4d5ca04

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 17 relnotes: move partition access method item
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 17 relnotes: move EXPLAIN items to their own section