>
>
> From: Claudio Freire
>> I thought I would see what happens when I do this:
>>
>>SELECT * FROM ONLY table_a UNION SELECT * FROM table_b;
>>
>>
>>
> What's the point, in the context of this example?
>
> The sort-unique still has to be performed even if you didn't have data
> in on
On Tue, May 13, 2014 at 5:08 PM, Tim Kane wrote:
> Hi all,
>
> So I was thinking about the following, after experimenting with constraint
> exclusion.
>
> I thought I would see what happens when I do this:
>
> SELECT * FROM ONLY table_a UNION SELECT * FROM table_b;
>
>
> I noticed that despite t
Hi all,
So I was thinking about the following, after experimenting with constraint
exclusion.
I thought I would see what happens when I do this:
SELECT * FROM ONLY table_a UNION SELECT * FROM table_b;
I noticed that despite table_a still having no data in it, the planner has
already decided