Re: Execute query with EXCEPT, INTERSECT as anti-join, join?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Execute query with EXCEPT, INTERSECT as anti-join, join?
Дата
Msg-id 32290.1384185368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Execute query with EXCEPT, INTERSECT as anti-join, join?  ("Colin 't Hart" <colinthart@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Add %z support to elog/ereport?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add %z support to elog/ereport?