mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Carry column aliases from the parser frontend. Enables queries like
SELECT a FROM t1 tx (a); Allow join syntax, including queries like SELECT * FROM t1 NATURAL JOIN t2; Update RTE structure to hold column aliases in an Attr structure.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: makefuncs.h,v 1.22 2000/01/26 05:58:16 momjian Exp $
|
||||
* $Id: makefuncs.h,v 1.23 2000/02/15 03:38:13 thomas Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -46,4 +46,7 @@ extern Const *makeConst(Oid consttype,
|
||||
bool constisset,
|
||||
bool constiscast);
|
||||
|
||||
extern Attr *
|
||||
makeAttr(char *relname, char *attname);
|
||||
|
||||
#endif /* MAKEFUNC_H */
|
||||
|
||||
Reference in New Issue
Block a user