From a344a6e7b5d7b2b87f33a155c3ef88bdfdce3fd8 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Tue, 15 Feb 2000 03:38:29 +0000 Subject: 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. --- src/include/nodes/makefuncs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include/nodes/makefuncs.h') diff --git a/src/include/nodes/makefuncs.h b/src/include/nodes/makefuncs.h index 2b3c5339c6..f934eb5e63 100644 --- a/src/include/nodes/makefuncs.h +++ b/src/include/nodes/makefuncs.h @@ -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 */ -- cgit v1.2.1