Re: Refactor query normalization into core query jumbling

zengman <zengman@halodbtech.com>

From: zengman <zengman@halodbtech.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-12-24T02:50:16Z
Lists: pgsql-hackers
> I am not sure I like this idea. The len_to_wrt being less than 0
> indicates a bug which will be hidden behind such a loop. I
> think it's better to keep the Assert as-is.

Well, my main concern is that assertions are unlikely to be enabled in production environments. 
Also, the new patch looks really good. Besides, it seems you accidentally forgot to cc Michael.

--
Regards,
Man Zeng
www.openhalo.org