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 1t36uE-00APTk-1N for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Oct 2024 04:54:06 +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 1t36uB-00E9iT-2d for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Oct 2024 04:54:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t36uA-00E9iK-Jk for pgsql-hackers@lists.postgresql.org; Tue, 22 Oct 2024 04:54:03 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t36u8-002Kkl-Io for pgsql-hackers@postgresql.org; Tue, 22 Oct 2024 04:54:02 +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=hQ0kODj0Un67ABzjeChfZ+Pw8kKM9ei77eo8tm+73ZY=; b=cTvwE+2yvDbeLHGqafyqjM0Aso 13yN1TlaIqruAtPdSvMc0Y5E53qJ/j4KSaNTpgKDN1WGQJXmWpjPukeh5aTFxKUH6nEtuM8D7pNsT zCHF3lRa/cPajErYZPJac0+amCOiVjzfKudkAUUIb/SUg1c2rFmAogGUJsfA/Hhpp3Mx9F4bxEN6R 9+zV/sIdKt9Qi5gu3YA7LBIqLD6NNQfo/NBdXCavrRDr9Yy8bbq/MboFIvyCGFqzixwfCV2oiurpC sVZTZ5SAz6W2pH6A6bVdGN40MyphwS6mzgMclp8QIonD4wVmH1aBAow5P4IMERbxhdsHVq9lgEzmY BD75giRQ==; Received: from [2409:11:4120:300:5ccd:2ce3:ccae:ef7e] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94.2) (envelope-from ) id 1t36u3-009lbT-ED; Tue, 22 Oct 2024 04:53:58 +0000 Date: Tue, 22 Oct 2024 13:53:43 +0900 (JST) Message-Id: <20241022.135343.842876007254579242.ishii@postgresql.org> To: jacob.champion@enterprisedb.com Cc: vik@postgresfriends.org, pgsql-hackers@postgresql.org, er@xs4all.nl, peter@eisentraut.org Subject: Re: Row pattern recognition From: Tatsuo Ishii In-Reply-To: References: <20240928.194359.1327378331465099656.ishii@postgresql.org> <20240930.090751.1732676018799092095.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:5ccd:2ce3:ccae:ef7e (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, I wonder how "PREV(col + 1)" is different from "PREV(col) + 1". Currently my RPR implementation does not allow PREV(col + 1). If "PREV(col + 1)" is different from "PREV(col) + 1", it maybe worthwhile to implement "PREV(col + 1)". Best reagards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp