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.94.2) (envelope-from ) id 1sEGZu-000WEj-FI for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Jun 2024 22:54:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sEGZt-00DWQR-TN for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Jun 2024 22:54:57 +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.94.2) (envelope-from ) id 1sEGZt-00DWQJ-KZ for pgsql-bugs@lists.postgresql.org; Mon, 03 Jun 2024 22:54:57 +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.94.2) (envelope-from ) id 1sEGZq-002CyF-RY for pgsql-bugs@lists.postgresql.org; Mon, 03 Jun 2024 22:54:57 +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 453MsppR151230; Mon, 3 Jun 2024 18:54:51 -0400 From: Tom Lane To: Thomas Munro cc: "Haifang Wang (Centific Technologies Inc)" , Rahul Pandey , Vishwa Deepak , Shawn Steele , Amy Wishnousky , "pgsql-bugs@lists.postgresql.org" , Shweta Gulati , Ashish Nawal , Magnus Hagander Subject: Re: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607 In-reply-to: References: <872239.1715641638@sss.pgh.pa.us> <2682258.1716011233@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 04 Jun 2024 09:22:22 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <151228.1717455291.1@sss.pgh.pa.us> Date: Mon, 03 Jun 2024 18:54:51 -0400 Message-ID: <151229.1717455291@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > One open question is whether we should ship a translation file > ourselves. I have heard two opinions: Tom Lane proposed in this > thread that there should be no file initially, we let the user figure > out what to put in there. Magnus Hagander proposed at the pgconf.dev > conference last week that we should ideally ship a complete > translation file and maintain it over time, and it should be installed > not in pgdata but rather in the install directory. FWIW, I'm kind of down on the latter approach, because I don't think it'll move the needle very far. Based on track record so far, there's no chance that we will be aware of a Microsoft locale renaming before it starts breaking users' databases. Therefore, "edit the translation file" is going to have to be a documented process in any case, because affected users are not going to want to wait around for our next release for a fix. Also, if people do have to do that, it doesn't seem like a great idea to tell them to modify an installed file rather than a cluster-local configuration file. What if they do a minor version update but the minor version doesn't (yet) contain the fix? Admittedly, the installed-file approach could make it more transparent for people who'd done a PG minor update before the relevant Windows update. I'm not sure how large that set of people will be, though. regards, tom lane