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.96) (envelope-from ) id 1wS4Kw-002vee-2m for pgsql-hackers@arkaria.postgresql.org; Wed, 27 May 2026 02:49:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wS4Kt-006p4A-07 for pgsql-hackers@arkaria.postgresql.org; Wed, 27 May 2026 02:49: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.96) (envelope-from ) id 1wS4Ks-006p42-2Q for pgsql-hackers@lists.postgresql.org; Wed, 27 May 2026 02:49:35 +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.98.2) (envelope-from ) id 1wS4Kp-00000000x5e-3cAt for pgsql-hackers@postgresql.org; Wed, 27 May 2026 02:49:34 +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=KSiaM842IJY3YxomI7NGyc44Vb0GpXoq6fjD6dklGe4=; b=1wUUSebg796LIh8Rn0IVK8Ddki wml7GxXF8OMb6B3Aee33hA8OP7YgMjJNPqwGsoiyiomyN67sZoBIkbhtGOyMEmasMBaUlOrfrZ6mK wO4COHkrQHUSLi4LFwo1sPZ5FtHBepU7N4nO+pW+BFRWOx3QzgM7vQOXwYkeGl9ngwXuWkB/f5k5A a7HmxaNO/A1tMRuYwHO1IXgyoNl0+vG+DhH6Ht9mI+eYUS836VHKEI2zCZEwV/bDS6HYD/5ZMmjMP v4jpYeaQrAAMasIqGvfXCtNxUj3dgXheWaurEoTzMRton/UwDHqf37CvcjTZ4K1I5F/2aPSij/fbw /39uUj6A==; Received: from [2409:11:4120:300:ae93:e36a:86fa:b4e2] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wS4Kf-003hiG-2e; Wed, 27 May 2026 02:49:24 +0000 Date: Wed, 27 May 2026 11:49:06 +0900 (JST) Message-Id: <20260527.114906.572152352039267184.ishii@postgresql.org> To: assam258@gmail.com Cc: jian.universality@gmail.com, zsolt.parragi@percona.com, sjjang112233@gmail.com, vik@postgresfriends.org, er@xs4all.nl, jacob.champion@enterprisedb.com, david.g.johnston@gmail.com, peter@eisentraut.org, li.evan.chao@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Row pattern recognition From: Tatsuo Ishii In-Reply-To: References: <20260502.140304.670813149418899420.ishii@postgresql.org> <20260524.171139.1720602000749196206.ishii@postgresql.org> X-Mailer: Mew version 6.8 on Emacs 29.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:ae93:e36a:86fa:b4e2 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Henson, > Thanks for catching this. I applied the patch and the RPR regress passes > cleanly. I also re-ran it with debug_raw_expression_coverage_test turned > on (on an assert-enabled build), and the full regress is green as well. > > One observation while testing: the GUC catches missing case handlers > once the walker actually reaches a node, but it cannot flag a missing > WALK on its own -- if no caller drives the walker into a subtree, the > omission stays silent. So your inspection was the part that found the > gap; the GUC just confirms the patch closes it. With the patch in, RPR > raw subtrees are on the safety net for any future node-type additions. Thanks for checking. > I'll include the patch in v48 as nocfbot-0015. My suggestion would > be to defer the fold until the jian-response patches (numbered from > 0016 onward, which I'll be sending shortly) have also gone through a > review round, so the whole bundle can land together in one pass. > Patch attached below for convenience. Sure. I will wait for your ready-to-go signal before creating the v48 pach set. Regards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp