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 1pOlC8-00041F-G2 for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Feb 2023 20:01:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pOlC7-0003Oo-Da for pgsql-hackers@arkaria.postgresql.org; Sun, 05 Feb 2023 20:00:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOl92-0006ML-Kf for pgsql-hackers@lists.postgresql.org; Sun, 05 Feb 2023 19:57:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOl8x-0007YX-05 for pgsql-hackers@lists.postgresql.org; Sun, 05 Feb 2023 19:57:48 +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 315JvdcN2521821; Sun, 5 Feb 2023 14:57:39 -0500 From: Tom Lane To: Alvaro Herrera cc: pgsql-hackers@lists.postgresql.org Subject: Re: First draft of back-branch release notes is done In-reply-to: <20230205121047.hfjbdc7s36aiesbm@alvherre.pgsql> References: <20230205121047.hfjbdc7s36aiesbm@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Sun, 05 Feb 2023 13:10:47 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2521819.1675627059.1@sss.pgh.pa.us> Date: Sun, 05 Feb 2023 14:57:39 -0500 Message-ID: <2521820.1675627059@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2023-Feb-03, Tom Lane wrote: >> Fix edge-case data corruption in shared tuplestores (Dmitry Astapov) > I think this sounds really scary, because people are going to think that > their stored data can get corrupted -- they don't necessarily know what > a "shared tuplestore" is. Maybe "Avoid query failures in parallel hash > joins" as headline? Hmmm ... are we sure it *can't* lead to corruption of stored data, if this happens during an INSERT or UPDATE plan? I'll grant that such a case seems pretty unlikely though, as the bogus data retrieved from the tuplestore would have to not cause a failure within the query before it can get written out. Also, aren't shared tuplestores used in more places than just parallel hash join? I mentioned that as an example, not an exhaustive list of trouble spots. regards, tom lane