diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-11-27 09:03:22 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-11-27 09:18:14 -0500 |
commit | b5d8fd4182f24ee489aa6bb72308f8712cd8810d (patch) | |
tree | 9fa80e761dc2137949f7dfe6d53f76f7ae75e7a5 /src/backend/executor/execUtils.c | |
parent | 3ae0c48a59f747905f26acd38fecdc3e3f505b5b (diff) | |
download | postgresql-b5d8fd4182f24ee489aa6bb72308f8712cd8810d.tar.gz postgresql-b5d8fd4182f24ee489aa6bb72308f8712cd8810d.zip |
Fix binary mismatch for MSVC plperl vs gcc built perl libs
When loading plperl built against Strawberry perl or the msys2 ucrt perl
that have been built with gcc, a binary mismatch has been encountered
which looks like this:
loadable library and perl binaries are mismatched (got handshake key 0000000012800080, needed 0000000012900080)
To cure this we bring the handshake keys into sync by adding
NO_THREAD_SAFE_LOCALE to the defines used to build plperl.
Discussion: https://postgr.es/m/20211005004334.tgjmro4kuachwiuc@alap3.anarazel.de
Discussion: https://postgr.es/m/c2da86a0-2906-744c-923d-16da6047875e@dunslane.net
Backpatch to all live branches.
Diffstat (limited to 'src/backend/executor/execUtils.c')
0 files changed, 0 insertions, 0 deletions