Join Correlation Name

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Join Correlation Name
Дата
Msg-id 2aa57950-b1d7-e9b6-0770-fa592d565dda@2ndquadrant.com
обсуждение исходный текст
Ответы Re: Join Correlation Name
Список pgsql-hackers
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.

-- 

Vik Fearing


Вложения

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: [HACKERS] advanced partition matching algorithm forpartition-wise join
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Problem with synchronous replication