aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_coerce.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/parser/parse_coerce.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/parser/parse_coerce.c')
-rw-r--r--src/backend/parser/parse_coerce.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/backend/parser/parse_coerce.c b/src/backend/parser/parse_coerce.c
index a24af2de3e1..e6559086286 100644
--- a/src/backend/parser/parse_coerce.c
+++ b/src/backend/parser/parse_coerce.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.86 2002/11/15 02:50:09 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.87 2002/11/25 21:29:41 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -161,7 +161,6 @@ coerce_type(Node *node, Oid inputTypeId, Oid targetTypeId,
newcon->constlen = typeLen(targetType);
newcon->constbyval = typeByVal(targetType);
newcon->constisnull = con->constisnull;
- newcon->constisset = false;
if (!con->constisnull)
{
@@ -553,9 +552,7 @@ coerce_type_typmod(Node *node, Oid targetTypeId, int32 targetTypMod,
sizeof(int32),
Int32GetDatum(targetTypMod),
false,
- true,
- false,
- false);
+ true);
args = makeList2(node, cons);
@@ -566,9 +563,7 @@ coerce_type_typmod(Node *node, Oid targetTypeId, int32 targetTypMod,
sizeof(bool),
BoolGetDatum(cformat != COERCE_IMPLICIT_CAST),
false,
- true,
- false,
- false);
+ true);
args = lappend(args, cons);
}