Re: UNION ALL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: UNION ALL
Date
Msg-id 22055.1565894971@sss.pgh.pa.us
Whole thread Raw
In response to UNION ALL  (Mark Pasterkamp <markpasterkamp1994@gmail.com>)
List pgsql-hackers
Mark Pasterkamp <markpasterkamp1994@gmail.com> writes:
> I was wondering if someone could help me understands what a union all
> actually does.

Generally speaking, it runs the first query and then the second query.
You'd really need to provide a lot more detail for anyone to say more
than that.

https://wiki.postgresql.org/wiki/Slow_Query_Questions

            regards, tom lane



pgsql-hackers by date:

Previous
From: Mark Pasterkamp
Date:
Subject: UNION ALL
Next
From: Ibrar Ahmed
Date:
Subject: Re: [PATCH] Implement INSERT SET syntax