aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/prep/preptlist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-11-25 21:29:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-11-25 21:29:42 +0000
commitf893ee271f1a500f7eb3f68de311080abfde8869 (patch)
treeb45af28758b2e2e7258d44eef359ef23938a2e7a /src/backend/optimizer/prep/preptlist.c
parentdbe100c4022e0125c103c3c0818ac5b327cc8283 (diff)
downloadpostgresql-f893ee271f1a500f7eb3f68de311080abfde8869.tar.gz
postgresql-f893ee271f1a500f7eb3f68de311080abfde8869.zip
Remove unused constisset and constiscast fields of Const nodes. Clean
up code and documentation associated with Param nodes.
Diffstat (limited to 'src/backend/optimizer/prep/preptlist.c')
-rw-r--r--src/backend/optimizer/prep/preptlist.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/backend/optimizer/prep/preptlist.c b/src/backend/optimizer/prep/preptlist.c
index 95687cb0d0d..68895143061 100644
--- a/src/backend/optimizer/prep/preptlist.c
+++ b/src/backend/optimizer/prep/preptlist.c
@@ -15,7 +15,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.57 2002/09/18 21:35:21 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/prep/preptlist.c,v 1.58 2002/11/25 21:29:40 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -183,9 +183,7 @@ expand_targetlist(List *tlist, int command_type,
att_tup->attlen,
(Datum) 0,
true, /* isnull */
- att_tup->attbyval,
- false, /* not a set */
- false);
+ att_tup->attbyval);
if (!att_tup->attisdropped)
new_expr = coerce_type_constraints(new_expr,
atttype,
@@ -198,9 +196,7 @@ expand_targetlist(List *tlist, int command_type,
att_tup->attlen,
(Datum) 0,
true, /* isnull */
- att_tup->attbyval,
- false, /* not a set */
- false);
+ att_tup->attbyval);
else
new_expr = (Node *) makeVar(result_relation,
attrno,