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 1p1tRD-0003KK-Fb for pgsql-general@arkaria.postgresql.org; Sun, 04 Dec 2022 18:10:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p1tRA-0005qO-27 for pgsql-general@arkaria.postgresql.org; Sun, 04 Dec 2022 18:10:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1tR8-0005q8-Ad for pgsql-general@lists.postgresql.org; Sun, 04 Dec 2022 18:09:59 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1tR1-0000HY-3l for pgsql-general@lists.postgresql.org; Sun, 04 Dec 2022 18:09:57 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 03E8F3200B49; Sun, 4 Dec 2022 13:09:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 04 Dec 2022 13:09:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1670177388; x= 1670263788; bh=RKl23u5a9zBKPpXLbcmShybhdmq7uYHQ9YtT7bhOoAY=; b=t 3BkHpIzvgH/RlA+TwMVfU9VuhXGm33zAr8gXF4fsXginfQYJAHsuIUsPIuR32POA UbaxSHr+7xKvMy9s0gIEAnZCVnpd89un2xRm2SCJrQF1kxtOxpP3AgPJoCoBDbot JMkdHxBDtMc7Z7E8AJwmH9RbGs0yFx4gsF/uuSOcodFYq85YWPPMb7pY8uZrJ9L1 OMlr6700h2+qtbGJW0GLGXYiNI2bhrnqXCNHNGxOS+zIykcbDSfiCpBdz8BoMUum jYFUDl6r5S6FPqrAPugS0lfJi4qdqRP0fu1RAKsndi0b/k36VooTr6wVOO5T7C1A wYYhLXYwTahhvUe2f9oPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=fm1; t=1670177388; x=1670263788; bh=R Kl23u5a9zBKPpXLbcmShybhdmq7uYHQ9YtT7bhOoAY=; b=pr8GjMrI09czQjuJ0 ib+HcpH/06jnbnDaul03Nlcji5pEWn4xKn61CnsKtqoi0eGdjp652ilrHIgjse0T CiGHM5zNWbN0gbRyV5/odIheLj2MxVTPewWji+sCNLbSBs/juKTKM16Lzex0yvov bEPPQiQ+q/gTNpVfDjDdG05Ic1HNvU43OETTsgbrYNZx5xNt67+4Gvdvo4oj+Axs I6LsSmQWF1U65agRcVC4j/t2ilqUlmTxXn8f3PK3u7KrQcBSBS1S8cs+Z7Qvfukn AomFuh8yrYfmh3MCW7UZenKUicodca3dMCnEiEJ32iAjsYT7d+BWtzmmWl5c6Ee8 j6d3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvgddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeffudehtddugefgkeevudffheevvefhfeettdfhveei vdfgieeghfeiueeggffggeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 4 Dec 2022 13:09:47 -0500 (EST) Message-ID: <954702a5-3552-640e-6df9-a03ab5fbc339@aklaver.com> Date: Sun, 4 Dec 2022 10:09:47 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: Q: error on updating collation version information To: Karsten Hilbert , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: 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 12/4/22 04:35, Karsten Hilbert wrote: > Am Sun, Dec 04, 2022 at 01:22:02PM +0100 schrieb Karsten Hilbert: > >> following an ICU upgrade, collations in a stock Debian PG 15.1 >> cluster now have divergent version information in pg_collations. > > Correction: this is following a libc upgrade 2.35 -> 2.36 So to be clear this database is not using ICU, but collations from libc? How was the database installed? In first post you had: gnumed_v22=> select *, pg_encoding_to_char(collencoding) from pg_collation where collname = 'br_FR@euro'; -[ RECORD 1 ]-------+----------- oid | 12413 collname | br_FR@euro collnamespace | 11 collowner | 10 collprovider | c collisdeterministic | t collencoding | 16 collcollate | br_FR@euro collctype | br_FR@euro colliculocale | collversion | 2.35 pg_encoding_to_char | LATIN9 where collprovider c means libc and collversion 2.35. Not exactly sure how that interacts with from here: https://www.postgresql.org/docs/current/catalog-pg-collation.html collversion text Provider-specific version of the collation. This is recorded when the collation is created and then checked when it is used, to detect changes in the collation definition that could lead to data corruption. > > Karsten > -- > GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B > > -- Adrian Klaver adrian.klaver@aklaver.com