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 1qBExQ-0007Sa-GN for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Jun 2023 13:30:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qBExO-0004RD-SP for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Jun 2023 13:30:10 +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 1qBExO-0004R3-K7 for pgsql-bugs@lists.postgresql.org; Mon, 19 Jun 2023 13:30:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBExF-003QpT-Dm for pgsql-bugs@lists.postgresql.org; Mon, 19 Jun 2023 13:30:07 +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 35JDTtJl2920060; Mon, 19 Jun 2023 09:29:55 -0400 From: Tom Lane To: Amit Kapila cc: Richard Guo , zuming.jiang@inf.ethz.ch, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17976: Inconsistent results of SELECT using CASE WHEN clause In-reply-to: References: <17976-4b638b525e9a983b@postgresql.org> <2023628.1686785663@sss.pgh.pa.us> <2256362.1686857757@sss.pgh.pa.us> Comments: In-reply-to Amit Kapila message dated "Mon, 19 Jun 2023 18:13:48 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2920058.1687181395.1@sss.pgh.pa.us> Date: Mon, 19 Jun 2023 09:29:55 -0400 Message-ID: <2920059.1687181395@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Amit Kapila writes: > Does this commit close the open item: "join removal can no longer skip > updating EquivalenceClasses"? If so, can we update it? Yeah. I'd left that open because there are several perhaps-overlapping issues in the same area, but that bug as-stated is gone. regards, tom lane