diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-25 21:29:42 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-25 21:29:42 +0000 |
commit | f893ee271f1a500f7eb3f68de311080abfde8869 (patch) | |
tree | b45af28758b2e2e7258d44eef359ef23938a2e7a /src/backend/nodes/makefuncs.c | |
parent | dbe100c4022e0125c103c3c0818ac5b327cc8283 (diff) | |
download | postgresql-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/nodes/makefuncs.c')
-rw-r--r-- | src/backend/nodes/makefuncs.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/backend/nodes/makefuncs.c b/src/backend/nodes/makefuncs.c index b92011445e3..a97a6df2fda 100644 --- a/src/backend/nodes/makefuncs.c +++ b/src/backend/nodes/makefuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.35 2002/09/18 21:35:21 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.36 2002/11/25 21:29:36 tgl Exp $ */ #include "postgres.h" @@ -157,9 +157,7 @@ makeConst(Oid consttype, int constlen, Datum constvalue, bool constisnull, - bool constbyval, - bool constisset, - bool constiscast) + bool constbyval) { Const *cnst = makeNode(Const); @@ -168,8 +166,7 @@ makeConst(Oid consttype, cnst->constvalue = constvalue; cnst->constisnull = constisnull; cnst->constbyval = constbyval; - cnst->constisset = constisset; - cnst->constiscast = constiscast; + return cnst; } @@ -188,9 +185,7 @@ makeNullConst(Oid consttype) (int) typLen, (Datum) 0, true, - typByVal, - false, - false); + typByVal); } /* |