pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tristan Partin <tristan@neon.tech>
To: Heikki Linnakangas <hlinnaka@iki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: gdo@leader.it
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
Date: Wed, 05 Jul 2023 15:45:11 -0500
Message-ID: <CTUJ604ZWHI1.3PFZK152XCWLX@gonk> (raw)
In-Reply-To: <555bb26e-c27c-ab65-028f-3fd5b82df9de@iki.fi>
References: <17946-3e84cb577e9551c3@postgresql.org>
	<1564676.1685043220@sss.pgh.pa.us>
	<555bb26e-c27c-ab65-028f-3fd5b82df9de@iki.fi>

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)





view thread (38+ messages)  latest in thread

Message-ID: <CTUJ604ZWHI1.3PFZK152XCWLX@gonk>
Permalink:  ../CTUJ604ZWHI1.3PFZK152XCWLX@gonk/
Also on:    postgresql.org/message-id/CTUJ604ZWHI1.3PFZK152XCWLX@gonk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tristan@neon.tech, hlinnaka@iki.fi, tgl@sss.pgh.pa.us, gdo@leader.it, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
  In-Reply-To: <CTUJ604ZWHI1.3PFZK152XCWLX@gonk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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