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 1m36VR-00037L-VT for pgsql-committers@arkaria.postgresql.org; Tue, 13 Jul 2021 00:42:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m36VQ-00079U-RO for pgsql-committers@arkaria.postgresql.org; Tue, 13 Jul 2021 00:42:36 +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 1m36VQ-00079G-Lh for pgsql-committers@lists.postgresql.org; Tue, 13 Jul 2021 00:42:36 +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 1m36VO-0004pD-OH; Tue, 13 Jul 2021 00:42:35 +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 16D0gXws3188193; Mon, 12 Jul 2021 20:42:34 -0400 From: Tom Lane To: David Rowley cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix theoretical bug in tuplesort In-reply-to: References: Comments: In-reply-to David Rowley message dated "Tue, 13 Jul 2021 00:40:38 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3188191.1626136953.1@sss.pgh.pa.us> Date: Mon, 12 Jul 2021 20:42:33 -0400 Message-ID: <3188192.1626136953@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ... btw, wouldn't it be advisable to set stup->tuple to NULL after dropping the referenced storage? regards, tom lane