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 1tkF5E-001hyo-K3 for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Feb 2025 04:19:44 +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 1tkF5C-006NPR-NX for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Feb 2025 04:19:42 +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 1tkF5C-006NPB-Dw for pgsql-hackers@lists.postgresql.org; Tue, 18 Feb 2025 04:19:42 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tkF5A-001RgR-2L for pgsql-hackers@postgresql.org; Tue, 18 Feb 2025 04:19:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:From:Subject:Cc:To:Message-Id:Date:Sender :Reply-To:Content-ID:Content-Description; bh=LxBpzR4KPKC8z+XprveZD6C6anPsWJOEXA/A/k3nznw=; b=w90YC3TBTZcSabKn8AYRDFDmPL aQFkW8Zy+WxG05N/OR2jBbrBVDvQu0xQpQKIL9cbNrZPJm55PvMeqZOyg4X6lbgry/6SGagdmLDKt JyIDVyynJhcznPYWTPwoLOobMf1BtP4RKylcnJUyNT0i3K3mR+Ody53ubwLfl4UUbYxCjO3QMQ7X/ 6d2VuISl/3rwUatryw8RkRz4LR7KPYBOTEAMRpEFIDM/QRqq5BuXDMvPKRDFM0ph2pNjxsMkJ2pBc 8OhVUI2EJzUNr1UsjV9lf4XZQEBPjElkGeNu7YK7sLyLtmXW1JrRRBixHf9ZC3cwCfdWarqyNc+Vb 3ZreWi7Q==; Received: from [2409:11:4120:300:956e:aa56:4c3d:40b9] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.96) (envelope-from ) id 1tkF55-000XXH-1i; Tue, 18 Feb 2025 04:19:37 +0000 Date: Tue, 18 Feb 2025 13:19:28 +0900 (JST) Message-Id: <20250218.131928.503752198926696812.ishii@postgresql.org> To: ojford@gmail.com Cc: krasiyan@gmail.com, tgl@sss.pgh.pa.us, vik@postgresfriends.org, pgsql-hackers@postgresql.org, andrew@tao11.riddles.org.uk, david@fetter.org Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options From: Tatsuo Ishii In-Reply-To: References: <20250203.204555.1527524827386762643.ishii@postgresql.org> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:956e:aa56:4c3d:40b9 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Attached version doesn't use the nonnulls array if an Exclude is > specified, as I think it's not going to work with exclusions (as it's > only an optimization, this is ok and can be taken out entirely if you > prefer). I've also added your tests above to the tests. I applied the v7 patch and ran regression and tap test. There was no errors. Great! BTW, I noticed that in the code path where ignorenulls_getfuncarginframe() is called, WinSetMarkPosition() is never called? Best reagards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp