Re: PRI?64 vs Visual Studio (2022)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bryan Green <dbryan(dot)green(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: PRI?64 vs Visual Studio (2022)
Date: 2025-12-15 23:45:22
Message-ID: 2280862.1765842322@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bryan Green <dbryan(dot)green(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2025-12-16 01:10:03 Re: Proposal: Conflict log history table for Logical Replication
Previous Message Euler Taveira 2025-12-15 23:39:28 Re: oid2name : add objects file path