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 1tma60-007of2-Ro for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2025 15:10:13 +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 1tma5z-003oXQ-VJ for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2025 15:10: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.94.2) (envelope-from ) id 1tma5z-003oXH-Ii for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2025 15:10:11 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tma5x-000YLn-07 for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2025 15:10:11 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43948021a45so39633795e9.1 for ; Mon, 24 Feb 2025 07:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1740409808; x=1741014608; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=W/fQ8K619x+qpFIVLHmA6acWYtrEOw959FeCaznoXo0=; b=TQ54wB0Chpw/tAwuricR5jTmPUEuUkaJ5d2Rn2RcUPutyUTbRo+NCnbISHuW1uS/wz 90ac9jC0tpsgGbpN4NQJfLdIUUxcdZvQ8KjUqMkH+RnYqFbX/iYVUzUbKFRoYEMSCtz0 X0H5d1LlXG8DjFmtVHJ/81LwlXWUN2avrhPUH4HmhsDmOj/s2Iv+o/XYNv7NJE21VtXg z1SPEKEVlxcrCEZ5USrr54b0sSy4+Af8E1JDF2Jmp54RBSFN4ZvYv/trAQ93kK2EZXoE n3AlO9DSIZbE5he/Eajohn0NIlMIiPWcaiaZkICVFElXGsgeiKB0RhVEpkU5k9u7r468 Z9FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740409808; x=1741014608; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=W/fQ8K619x+qpFIVLHmA6acWYtrEOw959FeCaznoXo0=; b=X2d5fKqpfiT5z0Gpmz0wHiaYj2yrvPgDHh2HDzcLBrtuRcpVah8oQPyWTSUOjFQ2O9 VcFkT0TQOD0kjyWBfrS+9HQHcbLAo84QcqdagLPAAWdpiCHD8wVT+Q3sXbSvMxDIJrwd zHkBKUq3NEzAF69dyzV/p9w445/8UWiOXOq/e/J63ngtpZ4GS8s/jriGUBqo6KJ9LLcs VpwXtQgS8rmhutgR2yC9cMAIQyhq5WecVLlM6tWBfrkhZ4zwWaPXcKuwnBij3niyfBGP COiWdt8YK/hTzaQDpUBrBjw1DunEo5zDtFhGKV1uFzUbBuhTyB8S2cfbgPJrLHHHSx0M mWDQ== X-Forwarded-Encrypted: i=1; AJvYcCWMuZ2UueVwyeMRTbUcX/uP9y2+hV45AJwOe0ym9chvF2CXoajlc2Y/EzwtC800hdj6xKnqs5+ZeDb8PLwc@lists.postgresql.org X-Gm-Message-State: AOJu0Yxe3axz9wvK+Yysh6yFJM9j3wbSgJywRfXnPJSE+xHyUVykLIv1 jVwpVSlnZACdU1YawKybNv8TzK3+PtUc0NJRnjj2Hb4XGiTzjBpjMNgoofJ6CoXukP1l3wIeOp/ I8ZVQQEQNLd2sk0JBRK9kTMevVLS0FCOFJHLDsHCfcSgRxQweirPG3BFq3kdCkCOb X-Gm-Gg: ASbGncsHgNazNf9Zkb29glWiVNiPKcWuO/rByRn5HOMePedNsdJbl/QCE4R32vLyl7c cS1zhQfbWHZS6QjrnfYKgYl1kt+wQ6jFvt76cZEmNSPF7w2EQy4895xchuYFJNYtP2KliGhBw16 bHseksXmhjXnX2NC25QBDsRUH9pdW1rgAySQlMejETRelstgdls/e+QPNNsiIPA8FZD080QdoO8 eGJekycq/qV6HnsvhrVBnqu8MUBoB6SXEWo9Zv0xiuSI3whwnKmwCkP/jW0L93RSaiT0zhofMuq NnBbhD8BrT5a+ltvgdJLURx2GywEhx+W6D3swg26GweqaQ== X-Google-Smtp-Source: AGHT+IHrHAuVehMAAbE6RnUD8SOYD9V6xk2qIHHtyc5BQbdiKUJwlhz4Qtq4KeqJXUgfDg6JC+uaAA== X-Received: by 2002:a05:600c:1c90:b0:43a:9ef6:77ec with SMTP id 5b1f17b1804b1-43ab0177166mr7545435e9.23.1740409808285; Mon, 24 Feb 2025 07:10:08 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:381d:19e6:2832:a3b1:b1ce]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439b036754asm110055465e9.30.2025.02.24.07.10.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2025 07:10:07 -0800 (PST) Message-ID: <56dbe5984c26ff2ebda5f3c607389a0416ae9d7f.camel@cybertec.at> Subject: Re: COLLATION update in 13.1 From: Laurenz Albe To: Matthias Apitz Cc: Dominique Devienne , Jeremy Schneider , pgsql-general@lists.postgresql.org Date: Mon, 24 Feb 2025 16:10:06 +0100 In-Reply-To: References: <20250224023225.197cac12@ardentperf.com> User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-02-24 at 13:07 +0100, Matthias Apitz wrote: > Thanks. I did \l before which gives: >=20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 List of databases > =C2=A0 =C2=A0 Name =C2=A0 =C2=A0| =C2=A0Owner =C2=A0 | Encoding | =C2=A0 = Collate =C2=A0 | =C2=A0 =C2=A0Ctype =C2=A0 =C2=A0| ICU Locale | Locale Prov= ider | =C2=A0 Access privileges > ------------+----------+----------+-------------+-------------+----------= --+-----------------+----------------------- > =C2=A0bar =C2=A0 =C2=A0 =C2=A0 =C2=A0| foo =C2=A0 =C2=A0 =C2=A0| UTF8 =C2= =A0 =C2=A0 | de_DE.UTF-8 | de_DE.UTF-8 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0| libc =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| > =C2=A0customers =C2=A0| sisis =C2=A0 =C2=A0| UTF8 =C2=A0 =C2=A0 | de_DE.U= TF-8 | de_DE.UTF-8 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| libc =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| > ... >=20 > But why the ALTER statement needs the spelling different as the output of= \l : >=20 > sisis=3D# ALTER COLLATION "de_DE.UTF-8" REFRESH VERSION; > ERROR: =C2=A0collation "de_DE.UTF-8" for encoding "UTF8" does not exist >=20 > sisis=3D# ALTER COLLATION "de_DE.utf8" REFRESH VERSION; > NOTICE: =C2=A0version has not changed > ALTER COLLATION Yes, that is annoying. You can use other collation names in CREATE DATABAS= E than the ones in pg_collation. You have to choose the name that is used in pg_collation, which is probably "de_DE.utf8". Really, they refer to the same collation. Yours, Laurenz Albe --=20 *E-Mail Disclaimer* Der Inhalt dieser E-Mail ist ausschliesslich fuer den=20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat= =20 dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte,=20 dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder= =20 Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sich= =20 in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. *CONFIDENTIALITY NOTICE & DISCLAIMER *This message and any attachment are=20 confidential and may be privileged or otherwise protected from disclosure= =20 and solely for the use of the person(s) or entity to whom it is intended.= =20 If you have received this message in error and are not the intended=20 recipient, please notify the sender immediately and delete this message and= =20 any attachment from your system. If you are not the intended recipient, be= =20 advised that any use of this message is prohibited and may be unlawful, and= =20 you must not copy this message or attachment or disclose the contents to=20 any other person.