Re: queryId constant squashing does not support prepared statements

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: queryId constant squashing does not support prepared statements
Дата
Msg-id aBPxS58PWgpNrWUB@paquier.xyz
обсуждение исходный текст
Ответ на Re: queryId constant squashing does not support prepared statements  (Sami Imseih <samimseih@gmail.com>)
Ответы Re: queryId constant squashing does not support prepared statements
Re: queryId constant squashing does not support prepared statements
Список pgsql-hackers
On Thu, May 01, 2025 at 03:57:16PM -0500, Sami Imseih wrote:
> I think what we should really allow the broader scope of expressions that
> are allowed via prepared statements, and this will make this implementation
> consistent between prepared vs non-prepared statements. I don't see why
> not. In fact, when we are examining the ArrayExpr, I think the only
> thing we should
> not squash is if we find a Sublink ( i.e. SELECT statement inside the array ).

Likely so.  I don't have anything else than Sublink in mind that would
be worth a special case..

> I am really leaning towards that we should revert this feature as the
> limitation we have now with parameters is a rather large one and I think
> we need to go back and address this issue.

I am wondering if this would not be the best move to do on HEAD.
Let's see where the discussion drives us.
--
Michael

Вложения

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