Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG

From: "Tristan Partin" <tristan(at)neon(dot)tech>
To: "Heikki Linnakangas" <hlinnaka(at)iki(dot)fi>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <gdo(at)leader(dot)it>
Cc: <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
Date: 2023-07-05 20:45:11
Message-ID: CTUJ604ZWHI1.3PFZK152XCWLX@gonk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Mon Jun 5, 2023 at 11:00 AM CDT, Heikki Linnakangas wrote:
>
> I think the uselocale() call renders ineffective the setlocale() calls
> that we make later. Maybe we should replace our setlocale() calls with
> uselocale(), too.

Should we just stop supporting systems without uselocale() that aren't
Windows, where you can get thread-safe localization using another
method? I am not aware of other systems that might have their own
non-POSIX APIs.

--
Tristan Partin
Neon (https://neon.tech)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tristan Partin 2023-07-05 20:53:16 Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
Previous Message Laurenz Albe 2023-07-05 13:29:16 Fwd: BUG #18015: missing dependency packages for postgis extension

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-05 20:45:26 Re: Add PQsendSyncMessage() to libpq
Previous Message Fabrízio de Royes Mello 2023-07-05 20:22:32 Re: Including a sample Table Access Method with core code