Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i82qV-0002tb-PK for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Sep 2019 13:39:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i82qT-0000M2-Ak for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Sep 2019 13:39:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i82qS-0000ET-UK for pgsql-bugs@lists.postgresql.org; Wed, 11 Sep 2019 13:39:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i82qL-0000xM-V6 for pgsql-bugs@lists.postgresql.org; Wed, 11 Sep 2019 13:39:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8BDdRPR031134; Wed, 11 Sep 2019 09:39:27 -0400 From: Tom Lane To: Vincent Van Driessche cc: pgsql-bugs@lists.postgresql.org Subject: Re: Default collation changes leave indexes in invalid state In-reply-to: References: Comments: In-reply-to Vincent Van Driessche message dated "Wed, 11 Sep 2019 10:05:18 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31132.1568209167.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Sep 2019 09:39:27 -0400 Message-ID: <31133.1568209167@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Vincent Van Driessche writes: > ... By running it before and after changing the `C` collation into `en_U= S.UTF-8`: > UPDATE pg_database SET datcollate=3D'en_US.UTF-8', datctype=3D'en_US.UTF= -8' That is not, and I do not think ever will be, a supported operation. If it breaks your database it's your own fault. regards, tom lane