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 1tyUCv-007M2k-2S for pgsql-hackers@arkaria.postgresql.org; Sat, 29 Mar 2025 11:18:33 +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 1tyUCt-009QIA-CY for pgsql-hackers@arkaria.postgresql.org; Sat, 29 Mar 2025 11:18:31 +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 1tyUCt-009QI1-2p for pgsql-hackers@lists.postgresql.org; Sat, 29 Mar 2025 11:18:31 +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 1tyUCq-001mwp-2I for pgsql-hackers@postgresql.org; Sat, 29 Mar 2025 11:18:30 +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=7AX8iJOAuHf9ySY0QmUIndwAEWIdpvU2tTHUQj+XwsI=; b=Nzsc5LSCtdUEKDclLa7iP/aFa6 Gw2vMm0Ob0uYTSXg58fwWXp4bBiV0KxkPTKr+rOn3zxF+/wypXV1bQuMcZIgz4in8lTY64im5EASG DDIO+MDTFA0vm/I4QzDAkq2TcwSQKDGzhsU0dIhyM15WB/M90IYovgHHaRxkLulfJCagS8zE5WZpK /i+KuDoYYY6YGU7hwMLatKSLim8xOYdYdtBaZHu0XsbErDu+0ra6O/mwiPyfO5WXUF4WTNC8f7Wmf vJ2dqoj4k6miJEcT0CInsph4RfAnPr3KqSphZTXFEGz6eNmcgbc7+nZsp+iqhztW6PZAALh67Fu8Z nxz3Wsdw==; Received: from [2409:11:4120:300:b656:580d:c420:6471] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.96) (envelope-from ) id 1tyUCl-006eWF-0A; Sat, 29 Mar 2025 11:18:25 +0000 Date: Sat, 29 Mar 2025 20:18:09 +0900 (JST) Message-Id: <20250329.201809.1463386697879435538.ishii@postgresql.org> To: krasiyan@gmail.com Cc: ojford@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: 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:b656:580d:c420:6471 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Hi, > Patch applies and compiles, all included tests passed and after the latest > fixes for non-nulls array, performance is near to lead/lag without support > of "ignore nulls". > I have been using the last version for more than one month in a production > environment with real data and didn't find any bugs, so It is ready for > committer status. One thing I worry about the patch is, now the non-nulls array optimization was removed. Since then I have been thinking about if there could be other way to optimize searching for non null rows. Best reagards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp