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.94.2) (envelope-from ) id 1tp7cr-000kEp-6x for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Mar 2025 15:22:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tp7cp-00A5Ah-SL for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Mar 2025 15:22:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tp7cp-00A5AM-JA for pgsql-bugs@lists.postgresql.org; Mon, 03 Mar 2025 15:22:35 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tp7cn-000jiS-2L for pgsql-bugs@lists.postgresql.org; Mon, 03 Mar 2025 15:22:34 +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 523FMVdX3650810; Mon, 3 Mar 2025 10:22:32 -0500 From: Tom Lane To: Richard Guo cc: Bruce Momjian , David Rowley , Ronald Cruz , pgsql-bugs@lists.postgresql.org, Peter Ford , "Aaron J. Garcia" Subject: Re: Query result differences between PostgreSQL 17 vs 16 In-reply-to: References: <3736132.1740181858@sss.pgh.pa.us> <3818495.1740191559@sss.pgh.pa.us> <1716556.1740551169@sss.pgh.pa.us> <2337383.1740630494@sss.pgh.pa.us> <2748914.1740757698@sss.pgh.pa.us> Comments: In-reply-to Richard Guo message dated "Mon, 03 Mar 2025 15:40:47 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3650808.1741015351.1@sss.pgh.pa.us> Date: Mon, 03 Mar 2025 10:22:31 -0500 Message-ID: <3650809.1741015351@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Richard Guo writes: > Here is an updated patch, which also includes the test case you found > proving the no-clone-quals limitation in restriction_is_always_false > is also needed. LGTM. regards, tom lane