Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px4Ax-0004C7-0m for pgsql-hackers@arkaria.postgresql.org; Thu, 11 May 2023 11:09:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1px4Av-0001hj-TN for pgsql-hackers@arkaria.postgresql.org; Thu, 11 May 2023 11:09:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px4Av-0001ha-Jy for pgsql-hackers@lists.postgresql.org; Thu, 11 May 2023 11:09:33 +0000 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1px4At-001xbW-1I for pgsql-hackers@lists.postgresql.org; Thu, 11 May 2023 11:09:33 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 181B02B0695F; Thu, 11 May 2023 07:09:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 11 May 2023 07:09:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1683803368; x=1683810568; bh=Hvlt3GKkiBKtJVbRPo59TD1zzdvgzrZcng1 ZiUR+FY0=; b=Hpp6WN4CYWfzcnasyYacUxQH1J3Kq/L68Sjtdr/QLxSDG2O+Ac0 IFVKyvl9eNq+9Z9dhKyGWmPeoaEKBV9poM7q3jpZAq5yEpoD6X6COioQ7thULxbo R8BhE9t1oy/SoibUYN9xPNr0lQjibPbhd56trqNN2p+JGI4JFbV4D34+nwjUdRQB AJS/d+uTd9+Gr83pu1B6iM9YSrmB6GMUHmFgQZPEDE+y42xxmrJXP22VEridx1/v HQ36Wi6laOzZ3QnfbPTQvpIM3q0R05dFnQIf/oAhscLXXe5VDF0rIsnA8a1h2zv1 JhN/ine5aY8xw5uaLY0bj8GH54nFr0U7CRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegkedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeehleffgeegudejteei hfelteduvdeifffhffdvjedvffegjeekudeludehudeifeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 May 2023 07:09:27 -0400 (EDT) Message-ID: Date: Thu, 11 May 2023 13:09:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Order changes in PG16 since ICU introduction Content-Language: en-US To: Jeff Davis , Alvaro Herrera Cc: Sandro Santilli , Tom Lane , Regina Obe , pgsql-hackers@lists.postgresql.org References: <20230509082553.yjikrxn54mi6hezc@alvherre.pgsql> <3a00d1f05299d381dc701d283f95d845c741c6a1.camel@j-davis.com> From: Peter Eisentraut In-Reply-To: <3a00d1f05299d381dc701d283f95d845c741c6a1.camel@j-davis.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 09.05.23 17:09, Jeff Davis wrote: > It's awkward for a user to read pg_database.datlocprovider, then > depending on that, either look in datcollate or daticulocale. (It's > awkward in the code, too.) > > Maybe some built-in function that returns a tuple of the default > provider, the locale, and the version? Or should we also output the > ctype somehow (which affects the results of upper()/lower())? There is also the deterministic flag and the icurules setting. Depending on what level of detail you imagine the user needs, you really do need to look at the whole picture, not some subset of it.