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 1ty3Lo-001kKk-E5 for pgsql-general@arkaria.postgresql.org; Fri, 28 Mar 2025 06:37:56 +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 1ty3Ln-0041H5-5M for pgsql-general@arkaria.postgresql.org; Fri, 28 Mar 2025 06:37:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ty3Lm-0041EU-OW for pgsql-general@lists.postgresql.org; Fri, 28 Mar 2025 06:37:54 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ty3Lk-001ZOL-1c for pgsql-general@lists.postgresql.org; Fri, 28 Mar 2025 06:37:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unixarea.de ; s=blu3434000; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender: Content-ID:Content-Description; bh=HY91JLNkk3X2sK3q4RdIw8MoKLNIFUB3GqhJEVtkpx8=; b=A92P9f0qFGHPuRlkm7VW9rrxjf mdRQ2LRKYXyFawWwKH6CPoG37RJpx+sfQWaP8W1yHWvuumdliG/xLSh1rOaLW4sumIEo3F+xCvE3b XmzXXrLf+KApZRZDouy9R2zfNTCJ+JLSJXZKM4A/YdYDA0P+OnOuzKb/iday/vqlk2z1h/rYtuDyU +7P17zUR8EGAiXfpO7t39sOFjJlnzOcDDj/7b5kNJN5XiRlrKsFuvLHzvWqiTySWFjWtN5gJCi+wv LHlTc6F/cqqIUaW0GSqOfJLd8NPqY9YswsaJqRKhz1FfSCdomEllMUUdqgFsnsIdGhkTwpRGoGYBb p2N5OaQQ==; Received: from [62.216.210.167] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ty3Lh-00DgkU-Ky; Fri, 28 Mar 2025 07:37:49 +0100 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 52S6bneW001313; Fri, 28 Mar 2025 07:37:49 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 52S6bn3P001312; Fri, 28 Mar 2025 07:37:49 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 28 Mar 2025 07:37:49 +0100 From: Matthias Apitz To: Laurenz Albe Cc: pgsql-general@lists.postgresql.org Subject: Re: COLLATION update in 13.1 Message-ID: Reply-To: Matthias Apitz References: <20250224023225.197cac12@ardentperf.com> <6118973a513658c4a46d9399f3691d0ef21672e8.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails in HTML will not be read! Please, only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 62.216.210.167 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día lunes, marzo 24, 2025 a las 07:27:21a. m. +0100, Laurenz Albe escribió: > On Mon, 2025-03-24 at 06:57 +0100, Matthias Apitz wrote: > > El día lunes, febrero 24, 2025 a las 12:41:05p. m. +0100, Laurenz Albe escribió: > > > Perhaps I need not say that, but ALTER COLLATION ... REFRESH VERSION only > > > makes the warning disappear. > > > > > > If you want to avoid data corruption, rebuild all indexes on strings, > > > then make the warning disappear. > > > > One last question related to ALTER COLLATION ... In our clusters are also > > the databases 'postgres', 'template0' and 'template1'. The latter we > > never us and we CREATE new databases from 'template0'. Anyway, does it > > make sense to ALTER COLLATION in these databases as well? > > I would say so, yes. At least on the template you are using for new databases. > > ... Thanks for your answer. Just for the record: $ psql -Upostgres template0 Passwort für Benutzer postgres: psql: FATAL: database "template0" is not currently accepting connections $ With 'template1' and 'postgres' it works fine. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub Annalena Baerbock: "We are fighting a war against Russia ..." (25.1.2023) I, Matthias, I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.