Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kboKi-0003OY-Nv for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Nov 2020 17:18:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kboKg-0005xm-5B for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Nov 2020 17:18:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kboKf-0005xf-UZ for pgsql-hackers@lists.postgresql.org; Sun, 08 Nov 2020 17:18:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kboKb-0003cf-Qs for pgsql-hackers@postgresql.org; Sun, 08 Nov 2020 17:18:24 +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 0A8HIJ9e1831656; Sun, 8 Nov 2020 12:18:19 -0500 From: Tom Lane To: "Drouvot, Bertrand" cc: PostgreSQL-development Subject: Re: [BUG]: segfault during update In-reply-to: References: Comments: In-reply-to "Drouvot, Bertrand" message dated "Sun, 08 Nov 2020 17:30:15 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1831654.1604855899.1@sss.pgh.pa.us> Date: Sun, 08 Nov 2020 12:18:19 -0500 Message-ID: <1831655.1604855899@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Drouvot, Bertrand" writes: > Here is a scenario that produces segfault during update (on version 12 > and 13): Hm. So the point about failing to reproduce dropped columns is more critical than I thought. I wonder how come we get away with that before v12? > So, we would need to back port this commit on 12 and 13. Yeah, this is sufficient reason why we must use the more invasive patch on those branches. What I'm wondering now is if there's a way to break even-older branches based on failure to handle dropped columns here. regards, tom lane