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.96) (envelope-from ) id 1w3J1K-00162D-2Y for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Mar 2026 19:27:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w3J1I-002HE6-34 for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Mar 2026 19:27:01 +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.96) (envelope-from ) id 1w3Iz4-002Bof-0J for pgsql-hackers@lists.postgresql.org; Thu, 19 Mar 2026 19:24:42 +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.98.2) (envelope-from ) id 1w3Iz1-000000003bU-3Y6p for pgsql-hackers@lists.postgresql.org; Thu, 19 Mar 2026 19:24:42 +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 62JJOak51449782; Thu, 19 Mar 2026 15:24:36 -0400 From: Tom Lane To: Chao Li cc: Joel Jacobson , pgsql-hackers@lists.postgresql.org Subject: Re: Improve hash join's handling of tuples with null join keys In-reply-to: <375DCE57-1107-48B7-9A64-3B3FC24CCECD@gmail.com> References: <3061845.1746486714@sss.pgh.pa.us> <496221.1748882849@sss.pgh.pa.us> <175507656113.993.1381684440543440253.pgcf@coridan.postgresql.org> <544D7C83-CECE-44E7-B5D7-530E9318D231@gmail.com> <616751.1755276726@sss.pgh.pa.us> <5C5EE031-F086-4353-A17A-DA563CD24DDD@gmail.com> <463296.1755553046@sss.pgh.pa.us> <659B2B36-C0FE-4642-921D-E7120E838891@gmail.com> <52163.1755988628@sss.pgh.pa.us> <1290278.1772571496@sss.pgh.pa.us> <3ccec807-d2ff-4150-9585-74cc52926646@app.fastmail.com> <940201.1773861007@sss.pgh.pa.us> <375DCE57-1107-48B7-9A64-3B3FC24CCECD@gmail.com> Comments: In-reply-to Chao Li message dated "Thu, 19 Mar 2026 14:55:04 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1449780.1773948276.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 19 Mar 2026 15:24:36 -0400 Message-ID: <1449781.1773948276@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Chao Li writes: > Overall, this looks like a solid patch to me. Thanks for taking another look. > The only thing I noticed is that while 0002 fixes the tuple-counting iss= ue, there does not seem to be a test that would fail without it. So I thin= k it would be better to add a test case for 0002. I tried doing that and a= ttached a diff. Without 0002, the test fails; with 0002, it passes. I couldn't get excited about expending test cycles on that. regards, tom lane