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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Allow an alias to be attached directly to a JOIN ... USING
Дата
Msg-id 454638cf-d563-ab76-a585-2564428062af@2ndquadrant.com
обсуждение исходный текст
Ответы Re: Allow an alias to be attached directly to a JOIN ... USING  (Thomas Munro <thomas.munro@gmail.com>)
Re: Allow an alias to be attached directly to a JOIN ... USING  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
A small new feature in SQL:2016 allows attaching a table alias to a
JOIN/USING construct:

    <named columns join> ::=
      USING <left paren> <join column list> <right paren>
      [ AS <join correlation name> ]

(The part in brackets is new.)

This seems quite useful, and it seems the code would already support
this if we allow the grammar to accept this syntax.

Patch attached.

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

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_log_fatal vs pg_log_error
Следующее
От: Juan José Santamaría Flecha
Дата:
Сообщение: Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions