postgresql/src/include/parser
Peter Eisentraut 055fee7eb4 Allow an alias to be attached to a JOIN ... USING
This allows something like

    SELECT ... FROM t1 JOIN t2 USING (a, b, c) AS x

where x has the columns a, b, c and unlike a regular alias it does not
hide the range variables of the tables being joined t1 and t2.

Per SQL:2016 feature F404 "Range variable for common column names".

Reviewed-by: Vik Fearing <vik.fearing@2ndquadrant.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/454638cf-d563-ab76-a585-2564428062af@2ndquadrant.com
2021-03-31 17:10:50 +02:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
analyze.h SEARCH and CYCLE clauses 2021-02-01 14:32:51 +01:00
gramparse.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
kwlist.h ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY 2021-03-25 18:00:28 -03:00
parse_agg.h Implement GROUP BY DISTINCT 2021-03-18 18:22:18 +01:00
parse_clause.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_coerce.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_collate.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_cte.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_enr.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_expr.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_func.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_node.h Allow an alias to be attached to a JOIN ... USING 2021-03-31 17:10:50 +02:00
parse_oper.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_param.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_relation.h Allow an alias to be attached to a JOIN ... USING 2021-03-31 17:10:50 +02:00
parse_target.h Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
parse_type.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
parse_utilcmd.h Extended statistics on expressions 2021-03-27 00:01:11 +01:00
parser.h Re-implement pl/pgsql's expression and assignment parsing. 2021-01-04 11:52:00 -05:00
parsetree.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
scanner.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
scansup.h Update copyright for 2021 2021-01-02 13:06:25 -05:00