Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVIFq-0005WR-0x for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Dec 2025 23:45:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vVIFp-003Iem-0u for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Dec 2025 23:45:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVIFp-003Iee-00 for pgsql-hackers@lists.postgresql.org; Mon, 15 Dec 2025 23:45:25 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVIFo-000s3z-1Y for pgsql-hackers@lists.postgresql.org; Mon, 15 Dec 2025 23:45:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 5BFNjM6x2280863; Mon, 15 Dec 2025 18:45:22 -0500 From: Tom Lane To: Bryan Green cc: pgsql-hackers@lists.postgresql.org Subject: Re: PRI?64 vs Visual Studio (2022) 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> <1372793.1763519315@sss.pgh.pa.us> <1377512.1763522154@sss.pgh.pa.us> <1462038.1763567038@sss.pgh.pa.us> <1881391.1765782112@sss.pgh.pa.us> <1991599.1765818338@sss.pgh.pa.us> <2117910.1765823286@sss.pgh.pa.us> <2128694.1765826341@sss.pgh.pa.us> <2259481.1765831157@sss.pgh.pa.us> <370c13c3-e380-4e31-a6a2-f555e150e65a@gmail.com> Comments: In-reply-to Bryan Green message dated "Mon, 15 Dec 2025 17:23:48 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2280861.1765842322.1@sss.pgh.pa.us> Date: Mon, 15 Dec 2025 18:45:22 -0500 Message-ID: <2280862.1765842322@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bryan Green 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." 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