Re: Refactor query normalization into core query jumbling

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Sami Imseih <samimseih@gmail.com>
Cc: Lukas Fittl <lukas@fittl.com>, zengman <zengman@halodbtech.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Julien Rouhaud <rjuju123@gmail.com>
Date: 2026-04-07T06:27:53Z
Lists: pgsql-hackers
On Sun, Apr 05, 2026 at 05:13:40PM -0500, Sami Imseih wrote:
> I took a look at v9 and it LGTM.

I can also see that v9 had the idea to discard quite a few of the
edits I did previously.  Restored that, reworded one more place that
was refering to query normalization in ComputeConstantLengths(),
applied the result.  We're in time at the end.
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Mark JumbleState as a const in the post_parse_analyze hook

  2. Force standard_conforming_strings to always be ON.

  3. Move pg_stat_statements query jumbling to core.