Re: queryId constant squashing does not support prepared statements

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: queryId constant squashing does not support prepared statements
Дата
Msg-id CAA5RZ0sW6Qq91AAn4zLoK9+XgcE5KFmgtk64xpN_xAfqDqb=Ng@mail.gmail.com
обсуждение исходный текст
Ответ на Re: queryId constant squashing does not support prepared statements  (Álvaro Herrera <alvherre@kurilemu.de>)
Список pgsql-hackers
> I've spent a bunch of time looking at this series and here's my take on
> the second one.

Thanks!

> I realized that the whole in_expr production in gram.y is pointless, and
> the whole private struct that was added was unnecessary.  A much simpler
> solution is to remove in_expr, expand its use in a_expr to the two
> possibilities, and with that we can remove the need for a new struct.

Nice simplification.

> I also added a recursive call in IsSquashableExpression to itself.  The

I agree with this. I was thinking about a follow-up patch for this based on
the discussion above, but why not just add it now.

> Barring objections, I'll push this soon, then look at rebasing 0003 on
> top, which I expect to be an easy job.

LGTM.

--
Sami



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