Re: Join Correlation Name

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Join Correlation Name
Дата
Msg-id bd60fa63-99ab-36a8-5b88-58e0a7162052@2ndquadrant.com
обсуждение исходный текст
Ответ на Join Correlation Name  (Vik Fearing <vik.fearing@2ndquadrant.com>)
Ответы Re: Join Correlation Name
Re: Join Correlation Name
Список pgsql-hackers
On 2019-10-29 11:47, Vik Fearing wrote:
> When joining tables with USING, the listed columns are merged and no
> longer belong to either the left or the right side.  That means they can
> no longer be qualified which can often be an inconvenience.
> 
> 
> SELECT a.x, b.y, z FROM a INNER JOIN b USING (z);
> 
> 
> The SQL standard provides a workaround for this by allowing an alias on
> the join clause. (<join correlation name> in section 7.10)
> 
> 
> SELECT j.x, j.y, j.z FROM a INNER JOIN b USING (z) AS j;
> 
> 
> Attached is a patch (based on 517bf2d910) adding this feature.

Is this the same as https://commitfest.postgresql.org/25/2158/ ?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Problem with synchronous replication
Следующее
От: Isaac Morland
Дата:
Сообщение: Re: Join Correlation Name