public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alvaro Herrera <[email protected]>
To: Pavel Stehule <[email protected]>
Cc: Yevhenii Kurtov <[email protected]>
Cc: Brad DeJong <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re:
Date: Thu, 29 Jun 2017 17:28:23 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAFj8pRA-0Ea9u-N3BzqQk-KwnVD6_GsWmhEJVpkpaTKZfsyqfg@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-performance>
Pavel Stehule wrote:
> 2017-06-29 7:17 GMT+02:00 Yevhenii Kurtov <[email protected]>:
>
> > 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
--
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re:
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox