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 1rkqZr-00FsRj-7G for pgsql-novice@arkaria.postgresql.org; Thu, 14 Mar 2024 19:17:19 +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 1rkqZp-002ZYO-Of for pgsql-novice@arkaria.postgresql.org; Thu, 14 Mar 2024 19:17:18 +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 1rkqZp-002ZYG-Gn for pgsql-novice@lists.postgresql.org; Thu, 14 Mar 2024 19:17:18 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkqZn-004WsX-HI for pgsql-novice@lists.postgresql.org; Thu, 14 Mar 2024 19:17:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 42EJHCVl2367187; Thu, 14 Mar 2024 15:17:12 -0400 From: Tom Lane To: "Quentin de Metz" cc: pgsql-novice@lists.postgresql.org Subject: Re: Sharp edge when dropping columns In-reply-to: <45e27182-8474-4dc5-be7b-adb87041a111@app.fastmail.com> References: <45e27182-8474-4dc5-be7b-adb87041a111@app.fastmail.com> Comments: In-reply-to "Quentin de Metz" message dated "Thu, 14 Mar 2024 19:44:31 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2367185.1710443832.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 14 Mar 2024 15:17:12 -0400 Message-ID: <2367186.1710443832@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Quentin de Metz" writes: > I'd like to report a sharp edge which caused downtime in my production a= pplication: dropping a column which is INCLUDEd in an index drops the inde= x. = This behavior is intentional, and we're not likely to change it. regards, tom lane