Re: Execute query with EXCEPT, INTERSECT as anti-join, join? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Execute query with EXCEPT, INTERSECT as anti-join, join?
Date
Msg-id 32290.1384185368@sss.pgh.pa.us
Whole thread Raw
In response to Re: Execute query with EXCEPT, INTERSECT as anti-join, join?  ("Colin 't Hart" <colinthart@gmail.com>)
List pgsql-hackers
"Colin 't Hart" <colinthart@gmail.com> writes:
> Would these be difficult to build in?

Well, you'd have to worry about the ALL cases, as well as how to determine
whether you're actually getting a win (which would probably be rather
tough, really, as the choice would have to be made before we've fired up
any of the planner machinery that supports statistical estimation :-().
The code that plans this is in src/backend/optimizer/prep/prepunion.c.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Add %z support to elog/ereport?
Next
From: Tom Lane
Date:
Subject: Re: Add %z support to elog/ereport?