pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi

pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi

pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi

pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi

pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi

pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi

pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required

2024-09-14 Thread Andrew Dunstan
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 defi