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

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: andres(at)anarazel(dot)de
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: plperl: windows: Use Perl_setlocale on 5.28+, fixing compile fai
Date: 2022-01-31 08:35:16
Message-ID: 20220131.173516.954037459158462050.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

At Sun, 30 Jan 2022 17:35:48 -0800, Andres Freund <andres(at)anarazel(dot)de> wrote in
> Hi,
>
> On 2022-01-31 00:44:39 +0000, Andres Freund wrote:
> > 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(at)wagner(dot)pp(dot)ru>
> > Reviewed-By: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
> > Discussion: https://postgr.es/m/20200501134711.08750c5f@antares.wagner.home
> > Backpatch: all versions
> >
> > Branch
> > ------
> > REL_14_STABLE
>
> I see this broke on everywhere but master. Looking.

Anyways, I can build on windows with this (even only on
master). Thanks for the work!

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-01-31 17:05:43 pgsql: Make canonicalize_path() more canonical.
Previous Message David Rowley 2022-01-31 04:07:47 Re: pgsql: Server-side gzip compression.