Re: Refactor query normalization into core query jumbling

Sami Imseih <samimseih@gmail.com>

From: Sami Imseih <samimseih@gmail.com>
To: Lukas Fittl <lukas@fittl.com>
Cc: Michael Paquier <michael@paquier.xyz>, zengman <zengman@halodbtech.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Julien Rouhaud <rjuju123@gmail.com>
Date: 2026-04-07T16:35:22Z
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!

Thanks Michael and Lukas!

--
Sami



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.