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 1tmX5k-007Q0O-LI for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2025 11:57:45 +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 1tmX5j-001yYr-RG for pgsql-general@arkaria.postgresql.org; Mon, 24 Feb 2025 11:57:43 +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 1tmX5j-001yXx-Fc for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2025 11:57:43 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tmX5h-000Wmr-0J for pgsql-general@lists.postgresql.org; Mon, 24 Feb 2025 11:57:43 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43995b907cfso25827105e9.3 for ; Mon, 24 Feb 2025 03:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1740398260; x=1741003060; darn=lists.postgresql.org; h=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=bZXL9RsAnU/9vxzT7hw4BPYTwWJfhRnO4YCVQiXno6U=; b=rns6+YDqZ8gzUJFzED2/mOu6bwckBMHFbl7X5lPcR/H45E/q+nHTVlx12kTMGX4ZW/ KfwzTWLpdpXutVCz4yJwM39RZpFuidk9fVIaJQVqwHBdALhyCZ6FSxOD6l/B3hutvTNY 6V7QWw2d1iykpiHlCf45pFr47fklcYF6YqlLYZv8yi0iELTwqvSURQrwAccbq2NbDoUf yEv5/Es/R85hGftHmDnb8qjoEuGHvHkDnlu7VILQEr9jb6RJ2mWwM+lKjYqvLuXvNVbm ashCxIMV1vTQ5gyWOyVJ89gbJK7HbJyPreBraEf0JccsHy1pSiWTBCE4AsLFt2LR6Q0H mYhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740398260; x=1741003060; h=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=bZXL9RsAnU/9vxzT7hw4BPYTwWJfhRnO4YCVQiXno6U=; b=PBiUSR5FPSWHhv+HyqihWCKuc1PgGEzZ/KQf2CgZcuzPraYs4t6pdmnRLVNOtSVzip gX28nj93OpHrTa0Ak9EXpLXETZQF6Dv2O34tcHjK1lFQPDvs6i06lggK3lY0eGr4uy/r 94IBJiMqDJBy1yGaTgLTU/CuofnjeuYCujg0IzcmRRpVcbaQy+eShgimc042g1q7cRgq uPcIXxa83aWBLdxpzp/vk+vg1KQxElgKPh60Gp8Z2eRU9n5YVQJ/5Kh3fAtb+KoKC4vY lZj3x2LOibo3nV5jUW4MmKoj+yAIMqNCKOdLnHgOp2rXkWbGT6NpoQ7xX3w3zLbyNPgB ORNQ== X-Forwarded-Encrypted: i=1; AJvYcCVIl06uGO0xjfNtOICu8joLTi2AWMJX8ku6kR1DJBZbzwVnRjkfJXbUSDhZwPCXwcyeCinJpGSAm6k8+KVm@lists.postgresql.org X-Gm-Message-State: AOJu0YyjwYrrGJ0qnd2/mIG/G2thqcqBG1fQOmIeWEkX2xMyjiPNxask yvCiP+CzqjG+KERAzMcTyAF8Ca3Ua3NgbWo+mHo07pSa6FpaZ4VDqhJhY/1YyObmtmgtHaQQkBM /jVf/A7yoEIaI1jGW+L40IDv8epGIP8a1ShrXsZ+GxCE29sJC0QcsSMgsX4fMGL8Q X-Gm-Gg: ASbGncuqm6r1hhmG1DtKtrWtZuVaxeEax5Bf95k+3O3BXrE/fs8r6y6j/31/LBO83JY YjPsPLBIk+MeqWmnC9aWAxM86Dx0xpH1NTWlcGLpGUaP++iWWH3YBuJvNPkp9RdAZ0cu0eSmwxx 1vtL4SxruvU3ZHKQvTvMRrIo50At2Ha8iaMXm2yW9ypCwTpoaR9kgsjRPrEf9iCkuaP7hjNgZRg SKK09fSLJA8F1ysmygwPA19GcV+NTgIstbn4xMKFQ6UG9rqfFlS+mnDygxXnSSl5lADt5E/w5Ju siERNUu6esEfzaBCJbZD1sA226rudkz+kUtpFk+cVb92FA== X-Google-Smtp-Source: AGHT+IESRuoZyGCGGbiMNctMtsH0zEcqDzqa23V6K9MR4baCmLKOAq+dKFhfSHr5jpnxBvu7JfCNow== X-Received: by 2002:a05:600c:190c:b0:439:8185:4ad3 with SMTP id 5b1f17b1804b1-439ae220dfdmr95217735e9.27.1740398260209; Mon, 24 Feb 2025 03:57:40 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:381d:19e6:2832:a3b1:b1ce]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439b01346d1sm105818855e9.0.2025.02.24.03.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2025 03:57:39 -0800 (PST) Message-ID: Subject: Re: COLLATION update in 13.1 From: Laurenz Albe To: Matthias Apitz , Dominique Devienne Cc: Jeremy Schneider , pgsql-general@lists.postgresql.org Date: Mon, 24 Feb 2025 12:57:39 +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" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-02-24 at 12:53 +0100, Matthias Apitz wrote: > If I understand the other reply from Laurenz Albe right, the correct procedure would be: > > pgsql -Usisis sisis > sisis=# REINDEX (VERBOSE) DATABASE sisis; > sisis=# ALTER COLLATION "de_DE.utf8" REFRESH VERSION; > ALTER COLLATION > > Correct? That REINDEX is certainly correct, even though it rebuilds way more indexes than necessary. If the ALTER COLLATION statement is correct or not depends on the collation you are using. You could look at "\l" and "pg_collation" to get the name right. Yours, Laurenz Albe -- *E-Mail Disclaimer* Der Inhalt dieser E-Mail ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. *CONFIDENTIALITY NOTICE & DISCLAIMER *This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and solely for the use of the person(s) or entity to whom it is intended. If you have received this message in error and are not the intended recipient, please notify the sender immediately and delete this message and any attachment from your system. If you are not the intended recipient, be advised that any use of this message is prohibited and may be unlawful, and you must not copy this message or attachment or disclose the contents to any other person.