Re: [PERFORM]

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PERFORM]
Дата
Msg-id 20170629212823.57u4eibfc6sn3hey@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: [PERFORM]  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-performance
Pavel Stehule wrote:
> 2017-06-29 7:17 GMT+02:00 Yevhenii Kurtov <yevhenii.kurtov@gmail.com>:
>

> > I just  tried UNION queries and got following error:
> >
> > ERROR:  FOR UPDATE is not allowed with UNION/INTERSECT/EXCEPT
>
> it is sad :(

I think we could lift this restriction for UNION ALL, but UNION sounds
difficult.


BTW I wonder how much of the original problem is caused by using a
prepared query.  I understand the desire to avoid repeated planning
work, but I think in this case it may be working against you.

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Yevhenii Kurtov
Дата:
Сообщение: Re: [PERFORM]
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: [PERFORM]