Re: queryId constant squashing does not support prepared statements

Поиск
Список
Период
Сортировка
От Dmitry Dolgov
Тема Re: queryId constant squashing does not support prepared statements
Дата
Msg-id bxthy72s3qxuvj4ffcpcje3cgqvir6hjlbrwf62wxxka7xkkal@d4vgwirvcbji
обсуждение исходный текст
Ответ на Re: queryId constant squashing does not support prepared statements  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> On Fri, May 02, 2025 at 04:18:37PM GMT, Michael Paquier wrote:
> 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..

If I understand you correctly, changing the way how element list is
identified is not going to address the question whether or not to squash
parameters, right?



В списке pgsql-hackers по дате отправления: