Re: Row pattern recognition

Tatsuo Ishii <ishii@postgresql.org>

From: Tatsuo Ishii <ishii@postgresql.org>
To: assam258@gmail.com
Cc: jacob.champion@enterprisedb.com, david.g.johnston@gmail.com, vik@postgresfriends.org, er@xs4all.nl, peter@eisentraut.org, pgsql-hackers@postgresql.org
Date: 2026-02-07T04:31:43Z
Lists: pgsql-hackers
> Yes, I've already restored Test 11.3 with the original pattern:
> 
>   DEFINE A AS v > PREV(v) OR PREV(v) IS NULL

Good.

> Additionally, I've implemented cross-platform normalization for Storage
> memory values
> to address the platform differences (18kB vs 19kB, 23kB vs 24kB, etc.)
> observed between
> macOS and Rocky Linux 10.
> 
> The attached patch includes:
> 
> 1. Test 11.3 restoration with original PREV(v) IS NULL pattern
> 2. Cross-platform Storage normalization using rpr_explain_filter() PL/pgSQL
> function

+-- Filter function to normalize Storage memory values only (not NFA statistics)
+-- Works for text, JSON, and XML formats

What about add reasoning why only storage memory values are normalized
something like:

-- NFA statistics should not change between platforms.

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



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Adjust cross-version upgrade tests for seg_out() fix

  2. Rationalize error comments in partition split/merge tests

  3. Add fast path for foreign key constraint checks

  4. Fix assorted pretty-trivial memory leaks in the backend.

  5. Add temporal FOREIGN KEY contraints

  6. Add trailing commas to enum definitions

  7. Remove obsolete executor cleanup code