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 1p1o0d-0005pC-8R for pgsql-general@arkaria.postgresql.org; Sun, 04 Dec 2022 12:22:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p1o0a-0000M0-RU for pgsql-general@arkaria.postgresql.org; Sun, 04 Dec 2022 12:22:12 +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 1p1o0a-0000KZ-G3 for pgsql-general@lists.postgresql.org; Sun, 04 Dec 2022 12:22:12 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1o0U-0006bS-Ok for pgsql-general@lists.postgresql.org; Sun, 04 Dec 2022 12:22:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1670156524; bh=PNRIDTwHrIVeE+3sTYNCZVccdXZLIgAn8WVJdOWlaM8=; h=X-UI-Sender-Class:Date:From:To:Subject; b=JPrio08Xzb2+02FWFQCVZ/nnChpA6UzMHSJIP+olZcysqZ0tfHnIKwV7os0JI8A2O gg66IdG2uPWkOBtJb7/n3s1+kuNhvyJV+NHrd7OXwuW/qGn0Fivadueeo8LCdkYEim iR/tAiB2ewEcdFe0mI/yPapR+Y08O0RhfZ9Zpc5RPIA6/O9Yu201fuV/G86VoE1gBo ATfeKZZcijhpUS0y5eqRNBUP8bTBrKOtLZ/HPcsyFr8TsefuX7Ir3BEiWONhNJjMIv BebsJW4gPZWo1edwOl35QEjqAXs6za7oW+YzDRH1IqOs2OKgJzG5JvrMWJREnFKgAH zdR9ao1GnesOw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from hermes ([84.144.201.66]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7zFZ-1oyBJv13vX-014zQ3 for ; Sun, 04 Dec 2022 13:22:04 +0100 Received: from ncq by hermes with local (Exim 4.94.2) (envelope-from ) id 1p1o0Q-0005gW-Uh for pgsql-general@lists.postgresql.org; Sun, 04 Dec 2022 13:22:03 +0100 Date: Sun, 4 Dec 2022 13:22:02 +0100 From: Karsten Hilbert To: pgsql-general@lists.postgresql.org Subject: Q: error on updating collation version information Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ma_X_il-Followup-to: d Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net X-Pri_X_ority: 2 (High) Sender: X-Provags-ID: V03:K1:EXmADOk6yFLEhd2XgUNEtzsyDmeIdMu72Jh7dq9j1ADG8faFOKM UNZI3kNdmN6bNbYy72B2HZ7yPuat8Y46bsrImvAz6gnHxqqVjr5EaazviFOJF56OO1I13xe 2gx59tCmRptyDeYObZEBhRJ+DnKt86EpvOPKseXgSlbRnqrFPq/8QwP0FTGGZegTFA47wWK xjEdRZdqNLq5/om+sHqGg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:t+lmUlmn5XY=;FLO6YVESAOUeEA1rjV89w051GIv AZUGMB0NzBWX6VEj8+Rc3NIQKaM5ynufUG+IjxD5gnZ3LN/QsD9cM6GOGgU1H/7Owil7xG/n1 WetnPtYHfijz7LrxVRYDa4fTXxBSy7aprN37ZCaY59MY5Yqew5U68GousRJqX4M2AhvMgMFZD nKGlK/kxNMDA6jopeMN0JDv2gpbfULZoaS5FkDhBA01ap0fO5GptFD44ws4wI11O6yX+ZDdmE Wqe3BIlvj6BRrZ8/BsBiCS0DH7lwPLH/wlFrLkB2czmWEodNe+VhGJefyIM33GbF8XI8tl2AN wzk4OHHSpf7W76M/6TZyUnN0AVKwDEqzb5pFPlMU0jW4G39SHqRtZypZXNAfJAty3dlraysfL LayfkRP91szX5Vod2O18Ku1ClpL3m5X0TXeSdPQKH8Gh9bfaet1Izmb+KWnC8IA1SdDkCTqEN EWWIPpKv6Xu7JSFGdRi9RdkvuUUE4REWN9Ecb4JSyMTUXCa4fyhNty9nfAJOTBJYys8e8Nmfw wA0gC+OssQZ4ryyMe2Jpt5ZyDEMaq+skzpqqcdJ7ga+nKngIm+QPJkicgO0ScA1tGw2y+pXj+ A4G7JIiBzUB+PxQMRCmoS+NSE5NAtbXneZKoxbG1F3lHsEJM77giEhUrX89/q/wevduYQYeIc HPY9NxQCBNpzXk6jJRhmS9SEJlatgXJ6qDGU2Wo62f7G9F5gSe9wziFE5mUAw8wD3e2j8JY0H oX4JObnvd9wBv0uR7bEAfiP6PWUuXrH1zhCvXp4hch54iR6zYYySRgCOdrPyhg6LPUOeZJYSG /Dc60QPrHL0byaoZnvenRS3YHjAbR2lcmMMFzSpbz5Sr4EOtAmXn5eEnhYetQUDwtVbPyfVHW 4lzZSDz8iA6d3yZzPZnYJWQb26Wpw1NASXugwCNX9H3Gkzin0vF1xnCHP+wfAKq78ue9bU/lz OhcPzw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dear all, following an ICU upgrade, collations in a stock Debian PG 15.1 cluster now have divergent version information in pg_collations. Now gnumed_v22=3D> ALTER COLLATION pg_catalog."br_FR@euro" REFRESH VERSION; ERROR: collation "pg_catalog.br_FR@euro" for encoding "UTF8" does not ex= ist despite gnumed_v22=3D> select *, pg_encoding_to_char(collencoding) from pg_collat= ion where collname =3D '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 However, note the UTF8 vs LATIN9. The manual sayeth: Some (less frequently used) encodings are not supported by ICU. When the database encoding is one of these, ICU collation entries in pg_collation are ignored. Attempting to use one will draw an error along the lines of =E2=80=9Ccollation "de-x-icu" for encoding "WIN874" does not exist=E2=80=9D. which sounds somewhat related. The database encoding is UTF8. That br_FR@euro.LATIN9 had _not_ been added manually. It is also not actively used in my database(s). What is the canonical advice on the way forward here ? Is the _suggested_ solution to delete the collation or am I missing to see the "proper" approach to fixing it ? Thanks, Karsten =2D- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B