pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bryan Green <dbryan.green@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: PRI?64 vs Visual Studio (2022)
Date: Mon, 15 Dec 2025 18:45:22 -0500
Message-ID: <2280862.1765842322@sss.pgh.pa.us> (raw)
In-Reply-To: <370c13c3-e380-4e31-a6a2-f555e150e65a@gmail.com>
References: <20250331.152829.1921392690375275165.horikyota.ntt@gmail.com>
	<001bdc3b-ef94-4f24-b017-ac8ff0a2ea55@eisentraut.org>
	<CA+hUKGJnmzTqiODmTjf-23yZ=E3HXqFTtKoyp3TF-MpB93hTMQ@mail.gmail.com>
	<1372793.1763519315@sss.pgh.pa.us>
	<CA+hUKGLzXzQcbjEHW08Z6g=mzBkpLtzSJ7Bt2S2XmxP1bwpq8A@mail.gmail.com>
	<1377512.1763522154@sss.pgh.pa.us>
	<e7b902aa-98ac-4d35-bae3-d7d282a938c2@eisentraut.org>
	<1462038.1763567038@sss.pgh.pa.us>
	<CA+hUKG+nMv9bmOcARaDFC6rG=SGWC=TwWSRLrxi29oGeRNKemg@mail.gmail.com>
	<1881391.1765782112@sss.pgh.pa.us>
	<CA+hUKGJaX3AcuKSdEUOZiWc+mzL=+dvGnbMqCvWGY22y6oh9Nw@mail.gmail.com>
	<1991599.1765818338@sss.pgh.pa.us>
	<c6379076-aabc-4ee8-920b-bd0d18bd2379@gmail.com>
	<2117910.1765823286@sss.pgh.pa.us>
	<b7d99342-07c3-4d50-af1d-a7b58d2631bd@gmail.com>
	<2128694.1765826341@sss.pgh.pa.us>
	<2259481.1765831157@sss.pgh.pa.us>
	<370c13c3-e380-4e31-a6a2-f555e150e65a@gmail.com>

Bryan Green <dbryan.green@gmail.com> writes:
> I should have asked you which version of libintl is being used.  I went
> ahead and jumped to 0.26 and they now gate like this:

>       /* If the current locale value is "C" or "C.<encoding>" or "POSIX",
> 	 we don't load a domain.  Return the MSGID.  */
>       if ((single_locale[0] == 'C'
> 	   && (single_locale[1] == '\0' || single_locale[1] == '.'))
> 	  || strcmp (single_locale, "POSIX") == 0)
> 	break;

Bleah.  I wonder if "POSIX.UTF-8" would work?

regression=# set lc_messages TO 'POSIX.UTF-8';
ERROR:  invalid value for parameter "lc_messages": "POSIX.UTF-8"

... nope.  Back to the drawing board I guess.

I've reverted the latest patch for now.

			regards, tom lane





view thread (41+ messages)  latest in thread

Message-ID: <2280862.1765842322@sss.pgh.pa.us>
Permalink:  ../2280862.1765842322@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2280862.1765842322@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dbryan.green@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: PRI?64 vs Visual Studio (2022)
  In-Reply-To: <2280862.1765842322@sss.pgh.pa.us>

* 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