Re: WIP patch for LATERAL subqueries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WIP patch for LATERAL subqueries
Дата
Msg-id 10430.1344265749@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WIP patch for LATERAL subqueries  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: WIP patch for LATERAL subqueries
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I think you can always simulate CROSS APPLY using LATERAL.  The syntax
> is different but the functionality is the same.  However, OUTER APPLY
> allows you to do something that I don't think is possible using
> LATERAL.

Uh, what exactly?  AFAICT from that blog entry, "x OUTER APPLY y" is
exactly the same as "x LEFT JOIN LATERAL y ON true".  Okay, so you
saved three words, but is that a good enough reason to invent a
nonstandard syntax?
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: SP-GiST for ranges based on 2d-mapping and quad-tree
Следующее
От: Robert Haas
Дата:
Сообщение: Re: WIP Patch: Use sortedness of CSV foreign tables for query planning