pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Tristan Partin <tristan@neon.tech>
Cc: gdo@leader.it, Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
Date: Mon, 12 Jun 2023 17:28:52 -0400
Message-ID: <18c6979a-126a-e530-7cc4-3b6984b1997b@joeconway.com> (raw)
In-Reply-To: <41a4898e-1cdb-960d-f17e-d71886407e04@joeconway.com>
References: <17946-3e84cb577e9551c3@postgresql.org>
	<1564676.1685043220@sss.pgh.pa.us>
	<555bb26e-c27c-ab65-028f-3fd5b82df9de@iki.fi>
	<CT887GSPI31W.BQCSW35JL67L@gonk>
	<ca35e375-be82-322d-8c81-78127d8fb33f@joeconway.com>
	<5676b739-0854-f924-4b97-466e3504c692@joeconway.com>
	<f1856a5d-3703-66ff-e7c7-01d2489315c1@joeconway.com>
	<665279.1686422574@sss.pgh.pa.us>
	<c23d6ec1-f882-af48-82d9-54e9f3e15809@joeconway.com>
	<574a1afa-5c6e-829c-0fed-a9ff44719f9f@joeconway.com>
	<49dfcad8-90fa-8577-008f-d142e61af46b@iki.fi>
	<41a4898e-1cdb-960d-f17e-d71886407e04@joeconway.com>

On 6/12/23 10:44, Joe Conway wrote:
> 1/ how do we fix the misbehavior reported due to libperl in existing
> stable branches

<snip>

> I was mostly trying to concentrate on #1, but 2 & 3 are worthy of
> discussion.

Hmm, browsing through the perl source I came across a reference to this 
(from https://perldoc.perl.org/perllocale):

---------------
PERL_SKIP_LOCALE_INIT

     This environment variable, available starting in Perl v5.20, if set 
(to any value), tells Perl to not use the rest of the environment 
variables to initialize with. Instead, Perl uses whatever the current 
locale settings are. This is particularly useful in embedded 
environments, see "Using embedded Perl with POSIX locales" in perlembed.
---------------

Seems we ought to be using that.

-- 
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com






view thread (38+ messages)  latest in thread

Message-ID: <18c6979a-126a-e530-7cc4-3b6984b1997b@joeconway.com>
Permalink:  ../18c6979a-126a-e530-7cc4-3b6984b1997b@joeconway.com/
Also on:    postgresql.org/message-id/18c6979a-126a-e530-7cc4-3b6984b1997b@joeconway.com

 · 

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: mail@joeconway.com, hlinnaka@iki.fi, tristan@neon.tech, tgl@sss.pgh.pa.us, pgsql-hackers@postgreSQL.org
  Subject: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG
  In-Reply-To: <18c6979a-126a-e530-7cc4-3b6984b1997b@joeconway.com>

* 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