Re: Row pattern recognition
Henson Choi <assam258@gmail.com>
From: Henson Choi <assam258@gmail.com>
To: Tatsuo Ishii <ishii@postgresql.org>
Cc: david.g.johnston@gmail.com, vik@postgresfriends.org, jacob.champion@enterprisedb.com, er@xs4all.nl, peter@eisentraut.org, pgsql-hackers@postgresql.org
Date: 2026-01-13T02:53:22Z
Lists: pgsql-hackers
> > So, the PATH function is Oracle specific? Or your own proposal? > Match PATH is essentially the internal metadata or the trace log of which Row Pattern Variable (Classifier) was assigned to each row during the state machine's execution. Match PATH is simply a set of Classifiers stored in the internal state. > I trust that you will help define the strategic roadmap for these > releases. > > As I continue to > > deepen my understanding of the standard, I will do my best to contribute > to > > the > > technical roadmap as well. > > Ok, here is my proposal for the strategic roadmap. This should be a > starting point of the discussion. > > (1) The first release: this will a subset of R020 (RPR in Window > clause), but will serve many of pratical uses of RPR. The > following features below will not be included. > > - MEASURES > - SUBSET > - SEEK > - AFTER MATCH SKIP TO > - AFTER MATCH SKIP TO FIRST > - AFTER MATCH SKIP TO LAST > - PERMUTE > > Note 1: this list needs discussion and may be changed when the release > is made. > > Note 2: Because MEASURES cannot be used in this release, all primary > row patter variables in the DEFINE clause must be unqualified ones > (i.e. "price", not "A.price") and they are implicitly qualified by the > universal row pattern variable. In this case the universal row pattern > variable is mapped to the current row, thus "price" in the DEFINE > clause is evaluated in the current row. > > After (1) we can choose either (a) extend support for R020, i.e. add > more features to the first release, especially MEASURES or (b) support > a subset of R010 (MATCH_RECOGNIZE). > I am currently fixing the code to satisfy the existing test cases. Once the modifications are complete, I'll share the details so we can discuss the differences between the current status and the proposed roadmap. Best regards, Henson
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Adjust cross-version upgrade tests for seg_out() fix
- 3e3d7875e956 19 (unreleased) cited
-
Rationalize error comments in partition split/merge tests
- ecb2508aaf9b 19 (unreleased) cited
-
Add fast path for foreign key constraint checks
- 2da86c1ef9b5 19 (unreleased) cited
-
Fix assorted pretty-trivial memory leaks in the backend.
- e78d1d6d47dc 19 (unreleased) cited
-
Add temporal FOREIGN KEY contraints
- 89f908a6d0ac 18.0 cited
-
Add trailing commas to enum definitions
- 611806cd726f 17.0 cited
-
Remove obsolete executor cleanup code
- d060e921ea5a 17.0 cited