Re: Row pattern recognition

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: assam258(at)gmail(dot)com
Cc: jian(dot)universality(at)gmail(dot)com, zsolt(dot)parragi(at)percona(dot)com, sjjang112233(at)gmail(dot)com, vik(at)postgresfriends(dot)org, er(at)xs4all(dot)nl, jacob(dot)champion(at)enterprisedb(dot)com, david(dot)g(dot)johnston(at)gmail(dot)com, peter(at)eisentraut(dot)org, li(dot)evan(dot)chao(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Row pattern recognition
Date: 2026-12-04 10:08:21
Message-ID: 20261204.190821.931907274691277467.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Thank you. Attached are nine incremental patches on top of v55, again
> as nocfbot. As I said, I am sending the results of my v54 audit in
> several mails, grouped by severity. This first mail has the defect
> fixes, the documentation of the plan-time limitation we agreed on, and
> two changes to the pattern limits. make check passes after each patch.
>
> 0001 Apply review comments on RPR deparse, node output and docs
> 0002 Fix crash and runaway planning time with long or deep row patterns
> 0003 Fix wrong row pattern matches when a group follows a copy of itself
> 0004 Print routine parameters by number inside DEFINE when deparsing
> 0005 Accept row pattern variables that the lexer turns into lookahead
> tokens
> 0006 Carry DEFINE inputs through grouping and eager aggregation
> 0007 Remove PlaceHolderVar wrapping of row pattern navigation
> arguments
> 0008 Document plan-time folding of row pattern navigation arguments
> 0009 Stop counting a row pattern alternation as a nesting level

Thank you!

Attached is the v56 patch with all patches above applied.

Regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

Attachment Content-Type Size
v56-0001-Row-pattern-recognition-patch-for-raw-parser-v56.patch application/octet-stream 45.4 KB
v56-0002-Row-pattern-recognition-patch-parse-analysis.patch application/octet-stream 70.6 KB
v56-0003-Row-pattern-recognition-patch-rewriter.patch application/octet-stream 33.9 KB
v56-0004-Row-pattern-recognition-patch-planner.patch application/octet-stream 111.2 KB
v56-0005-Row-pattern-recognition-patch-executor-and-comma.patch application/octet-stream 186.3 KB
v56-0007-Row-pattern-recognition-patch-tests-SQL-data.patch application/octet-stream 809.3 KB
v56-0008-Row-pattern-recognition-patch-tests-expected.patch application/octet-stream 1.2 MB
v56-0009-Row-pattern-recognition-patch-typedefs.list.patch application/octet-stream 1.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-12-04 10:21:15 Re: Backend goes in infinite loop when a GUC_REPORT value can’t be converted to client_encoding
Previous Message Nikhil Sontakke 2026-12-04 10:03:38 Re: DDL deparse