Re: Refactor query normalization into core query jumbling

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Lukas Fittl <lukas(at)fittl(dot)com>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, zengman <zengman(at)halodbtech(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Subject: Re: Refactor query normalization into core query jumbling
Date: 2026-01-08 02:38:58
Message-ID: aV8Yws9HddLknVeg@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 30, 2025 at 01:31:30PM +0900, Michael Paquier wrote:
> Saying that, yes I think that you are right, we should be able to
> remove this dependency on JumbleState in
> pg_hint_plan_post_parse_analyze() and rely on the query ID. I'm
> writing down a note about cleaning that on the HEAD branch of the
> module..

For the note, I have looked at that again and this improvement is
right, so I have pushed something to simplify the code:
https://github.com/ossc-db/pg_hint_plan/commit/3a63a56740e48e1d205294d5df6e198716718882

Thanks for the suggestion, Lukas.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-01-08 02:51:04 Re: Proposal to allow setting cursor options on Portals
Previous Message Jacob Jackson 2026-01-08 02:18:12 Re: Proposal: Add a UNIQUE NOT ENFORCED constraint