Re: Refactor query normalization into core query jumbling

Lukas Fittl <lukas@fittl.com>

From: Lukas Fittl <lukas@fittl.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Sami Imseih <samimseih@gmail.com>, zengman <zengman@halodbtech.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Julien Rouhaud <rjuju123@gmail.com>
Date: 2026-04-07T06:51:08Z
Lists: pgsql-hackers
On Mon, Apr 6, 2026 at 11:28 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> 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.

Thanks for getting this in!

(and apologies that I dropped your edits, I was looking at Sami's v7
version when I put that together)

Thanks,
Lukas

-- 
Lukas Fittl



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.