Re: queryId constant squashing does not support prepared statements - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: queryId constant squashing does not support prepared statements
Date
Msg-id aBRxzcsvmxN0jTdO@paquier.xyz
Whole thread Raw
In response to Re: queryId constant squashing does not support prepared statements  (Dmitry Dolgov <9erthalion6@gmail.com>)
Responses Re: queryId constant squashing does not support prepared statements
Re: queryId constant squashing does not support prepared statements
List pgsql-hackers
On Fri, May 02, 2025 at 09:13:39AM +0200, Dmitry Dolgov wrote:
> Squashing constants was ment to be a first step towards doing the same
> for other types of queries (params, rte_values), reverting it to
> implement everything at once makes very little sense to me.

That depends.  If we conclude that tracking this information through
the parser based on the start and end positions in a query string
for a set of values is more relevant, then we would be redesigning the
facility from the ground, so the old approach would not be really
relevant..
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: queryId constant squashing does not support prepared statements
Next
From: Dmitry Dolgov
Date:
Subject: Re: queryId constant squashing does not support prepared statements