pgsql: plperl: windows: Use Perl_setlocale on 5.28+, fixing compile fai

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: plperl: windows: Use Perl_setlocale on 5.28+, fixing compile fai
Дата
Msg-id E1nEKo8-0007F8-GA@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
plperl: windows: Use Perl_setlocale on 5.28+, fixing compile failure.

For older versions we need our own copy of perl's setlocale(), because it was
not exposed (why we need the setlocale in the first place is explained in
plperl_init_interp) . The copy stopped working in 5.28, as some of the used
macros are not public anymore.  But Perl_setlocale is available in 5.28, so
use that.

Author: Victor Wagner <vitus@wagner.pp.ru>
Reviewed-By: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://postgr.es/m/20200501134711.08750c5f@antares.wagner.home
Backpatch: all versions

Branch
------
master

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

Modified Files
--------------
src/pl/plperl/plperl.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Introduce pg_settings_get_flags() to find flags associated to a
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: plperl: windows: Use Perl_setlocale on 5.28+, fixing compile fai