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 1ts7x5-00Fgw0-HI for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Mar 2025 22:19:55 +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 1ts7x3-0087hY-5W for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Mar 2025 22:19:53 +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 1ts7x2-0087hP-TH for pgsql-bugs@lists.postgresql.org; Tue, 11 Mar 2025 22:19:52 +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 1ts7x0-002J1K-1x for pgsql-bugs@lists.postgresql.org; Tue, 11 Mar 2025 22:19:51 +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 52BMJnM71837980; Tue, 11 Mar 2025 18:19:49 -0400 From: Tom Lane To: Bruce Momjian cc: Richard Guo , 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: <1716556.1740551169@sss.pgh.pa.us> <2337383.1740630494@sss.pgh.pa.us> <2748914.1740757698@sss.pgh.pa.us> <3650809.1741015351@sss.pgh.pa.us> Comments: In-reply-to Bruce Momjian message dated "Tue, 11 Mar 2025 18:03:40 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1837978.1741731589.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 11 Mar 2025 18:19:49 -0400 Message-ID: <1837979.1741731589@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > Uh, if we fixed this for NULL optimization and backpatched, should we do > the same for: > Parameter NOT NULL to CREATE DOMAIN not the same as CHECK (VALUE IS NOT= NULL) > https://www.postgresql.org/message-id/flat/173591158454.714.76640643324= 19606037%40wrigleys.postgresql.org This is unrelated to that. regards, tom lane