Re: Does the SQL standard actually define LATERAL anywhere?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does the SQL standard actually define LATERAL anywhere?
Дата
Msg-id 10027.1348707340@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Does the SQL standard actually define LATERAL anywhere?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On Sat, 2012-09-01 at 00:29 -0400, Tom Lane wrote:
>> this is a spec-defined syntax so surely the SQL standard ought to tell
>> us what to do.  But I'm darned if I see anything in the standard that
>> defines the actual *behavior* of a LATERAL query.

> I have it another read and couldn't find anything either.  As written,
> LATERAL is effectively a noise word, AFAICT.

It's not a noise word --- its effects on scope of name visibility are
spelled out clearly enough.  What is not clear is what the query
semantics are supposed to be in the presence of references that would
be disallowed in the traditional understanding of a FROM clause.
        regards, tom lane



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Switching timeline over streaming replication
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Switching timeline over streaming replication