summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/prep/preptlist.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-01-20 22:12:17 +0000
committerBruce Momjian <bruce@momjian.us>1998-01-20 22:12:17 +0000
commit7f31669beac8cacb828acbdbaf29925a6f0d6677 (patch)
tree475dde3edc07221f1fbfec88eb1a3e07470103f9 /src/backend/optimizer/prep/preptlist.c
parent412a5e653949b930d03056da73afca3c505a80f5 (diff)
downloadpostgresql-7f31669beac8cacb828acbdbaf29925a6f0d6677.tar.gz
Add Var.varlevelup to code. More parser cleanup.
Diffstat (limited to 'src/backend/optimizer/prep/preptlist.c')
-rw-r--r--src/backend/optimizer/prep/preptlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/prep/preptlist.c b/src/backend/optimizer/prep/preptlist.c
index e92fbb3332..ad2c697db5 100644
--- a/src/backend/optimizer/prep/preptlist.c
+++ b/src/backend/optimizer/prep/preptlist.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.7 1998/01/16 23:20:09 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.8 1998/01/20 22:11:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -114,7 +114,7 @@ preprocess_targetlist(List *tlist,
0,
1);
- var = makeVar(result_relation, -1, 27, result_relation, -1);
+ var = makeVar(result_relation, -1, 27, 0, result_relation, -1);
ctid = makeNode(TargetEntry);
ctid->resdom = resdom;
@@ -322,7 +322,7 @@ new_relation_targetlist(Oid relid, Index rt_index, NodeTag node_type)
TargetEntry *temp_list = NULL;
temp_var =
- makeVar(rt_index, attno, atttype, rt_index, attno);
+ makeVar(rt_index, attno, atttype, 0, rt_index, attno);
temp_list = MakeTLE(makeResdom(attno,
atttype,