aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-05-31 01:03:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-05-31 01:03:23 +0000
commit83b72ee286764e20c3f1c8c418780bab50ff6c29 (patch)
tree3b245169d7a3826510d8cd55c8c7ab749c520e02 /src/include/parser
parent12a323b7a8d430e9bddae7c0155239d7a5790afc (diff)
downloadpostgresql-83b72ee286764e20c3f1c8c418780bab50ff6c29.tar.gz
postgresql-83b72ee286764e20c3f1c8c418780bab50ff6c29.zip
ParseComplexProjection should make use of expandRecordVariable so that
it can handle cases like (foo.x).y where foo is a subquery and x is a function-returning-RECORD RTE in that subquery.
Diffstat (limited to 'src/include/parser')
-rw-r--r--src/include/parser/parse_target.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/parser/parse_target.h b/src/include/parser/parse_target.h
index 30abd52c1a0..35c2a41baf0 100644
--- a/src/include/parser/parse_target.h
+++ b/src/include/parser/parse_target.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/parser/parse_target.h,v 1.35 2004/12/31 22:03:38 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/parser/parse_target.h,v 1.36 2005/05/31 01:03:23 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,6 +27,8 @@ extern void updateTargetListEntry(ParseState *pstate, TargetEntry *tle,
List *indirection);
extern List *checkInsertTargets(ParseState *pstate, List *cols,
List **attrnos);
+extern TupleDesc expandRecordVariable(ParseState *pstate, Var *var,
+ int levelsup);
extern char *FigureColname(Node *node);
#endif /* PARSE_TARGET_H */