pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
7+ messages / 1 participants
[nested] [flat]

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bc46104fc9aa5254f98250cf2756552f92095ae9

Modified Files
--------------
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/648397b1d409f15612b5bb6f95c5527f94e69807

Modified Files
--------------
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0a0db46313749bb379db65eb987af6bf29470300

Modified Files
--------------
meson.build                 | 5 ++++-
src/tools/msvc/Mkvcbuild.pm | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9f77494647ded10c5ffd67cea92abcfdaea7dddd

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f40d9e9f1b5892a340d5ed5d650c9dc3cf72e6e9

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required
@ 2024-09-14 13:21 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 7+ messages in thread

From: Andrew Dunstan @ 2024-09-14 13:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d94e3b33eaf6c57109a21115572ac78124da5939

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2024-09-14 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>
2024-09-14 13:21 pgsql: Only define NO_THREAD_SAFE_LOCALE for MSVC plperl when required Andrew Dunstan <andrew@dunslane.net>

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