Re: Postgres restore help

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres restore help
Дата
Msg-id 26955.1330465791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres restore help  (Alessandro Gagliardi <alessandro@path.com>)
Список pgsql-novice
Alessandro Gagliardi <alessandro@path.com> writes:
> Argh! I can't believe I forgot the "LEFT". That's embarrassing. Anyway, I
> was wondering if a WHERE NOT EXISTS clause would be better. I'm still new
> to those, so didn't want to try to offer that as a solution, but I gather
> it can be more efficient than a JOIN in some cases.

Given a reasonably recent PG version, it should be exactly the same ---
the planner will translate both of those into anti-joins.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Alessandro Gagliardi
Дата:
Сообщение: Re: Postgres restore help
Следующее
От: Bartosz Dmytrak
Дата:
Сообщение: Re: Postgres restore help