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 1vTNNI-0003hi-0h for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Dec 2025 16:49:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vTNNH-0000dg-0c for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Dec 2025 16:49:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vTNNG-0000dY-2c for pgsql-hackers@lists.postgresql.org; Wed, 10 Dec 2025 16:49:11 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vTNNE-0000dC-2B for pgsql-hackers@lists.postgresql.org; Wed, 10 Dec 2025 16:49:11 +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 5BAGn26O641932; Wed, 10 Dec 2025 11:49:02 -0500 From: Tom Lane To: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= cc: =?utf-8?Q?=C3=81lvaro?= Herrera , Thomas Munro , pgsql-hackers@lists.postgresql.org Subject: Re: Solaris versus our NLS files In-reply-to: <87o6o65pok.fsf@wibble.ilmari.org> References: <202512101432.rkz3zbykficx@alvherre.pgsql> <87o6o65pok.fsf@wibble.ilmari.org> Comments: In-reply-to =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= message dated "Wed, 10 Dec 2025 15:20:27 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <641930.1765385342.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Wed, 10 Dec 2025 11:49:02 -0500 Message-ID: <641931.1765385342@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= writes: > Álvaro Herrera writes: >> Oh. Well, that's clearly a process failure, and the fix will require us >> deleting that file on all branches from 16 and up anyway, so I have no >> issues with the plan of requiring all message catalogs to be UTF-8. > Digging a bit more in the history of **/nb.po, there seems to be a > policy that files that are less than 80% translated are removed¹, and I > guess this file was just below the threshold on the 12-15 branches, but > just above the threshold on master and 16+. There may actually be an update-process bug here, because according to [1], pg_config's nb translation is below 70% in all current branches. So src/bin/pg_config/po/nb.po should not be propagated to gitmaster in any branch later than v12, yet here it is in the more recent branches. I'm suspecting a logic bug that fails to delete files that should be deleted. regards, tom lane [1] https://babel.postgresql.org