Re: Allow an alias to be attached directly to a JOIN ... USING

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Allow an alias to be attached directly to a JOIN ... USING
Дата
Msg-id 91c3880a-de95-324d-1d75-3ed512b221b6@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Allow an alias to be attached directly to a JOIN ... USING  (Wolfgang Walther <walther@technowledgy.de>)
Список pgsql-hackers
On 2020-08-03 19:44, Wolfgang Walther wrote:
> So given this:
> 
> SELECT x.id FROM a LEFT JOIN b USING (id) AS x
> 
> will this return NULL or a.id for rows that don't match in b? This
> should definitely be mentioned in the docs and I guess a test wouldn't
> be too bad as well?

This issue is independent of the presence of the alias "x", so I don't 
think it has to do with this patch.

There is a fair amount of documentation on outer joins, so I expect that 
this is discussed there.

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Allow an alias to be attached directly to a JOIN ... USING
Следующее
От: Alexander Lakhin
Дата:
Сообщение: More time spending with "delete pending"