Re: queryId constant squashing does not support prepared statements

Поиск
Список
Период
Сортировка
От Dmitry Dolgov
Тема Re: queryId constant squashing does not support prepared statements
Дата
Msg-id kxz3mo5tvxzlc7w6ptkflqgsrhqj3bydisbqazyuven5r2hotm@ugq2yadkjix3
обсуждение исходный текст
Ответ на Re: queryId constant squashing does not support prepared statements  (Sami Imseih <samimseih@gmail.com>)
Список pgsql-hackers
> On Mon, May 12, 2025 at 06:40:43PM GMT, Sami Imseih wrote:
> > The static variables was only part of the concern, another part was
> > using A_Expr to carry this information, which will have impact on lots
> > of unrelated code.
>
> What would be the problem if A_Expr carries an extra pointer to a List?
> It already had other fields, rexpr, lexpr and location that could be no-op.

They can be empty sometimes, but the new fields will be empty 99% of the
time. This is a clear sign to me that this informaton does not belong to
a node for "infix, prefix, and postfix expressions", don't you think?



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