diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-26 03:01:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-26 03:01:59 +0000 |
commit | ea0b5c856922c08ef2ce6e2eb26f6c68d20bf957 (patch) | |
tree | d4e59a1b466aaf615adc9d513fbd5d00e87cd388 /src/backend/parser/parse_expr.c | |
parent | ac47950238480321862c3a0b66cb01c40af801db (diff) | |
download | postgresql-ea0b5c856922c08ef2ce6e2eb26f6c68d20bf957.tar.gz postgresql-ea0b5c856922c08ef2ce6e2eb26f6c68d20bf957.zip |
Use Params, rather than run-time-modified Const nodes, to handle
sublink results and COPY's domain constraint checking. A Const that
isn't really constant is just a Bad Idea(tm). Remove hacks in
parse_coerce and other places that were needed because of the former
klugery.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
-rw-r--r-- | src/backend/parser/parse_expr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c index 9a4a9c8bc91..fd2cd4f34b3 100644 --- a/src/backend/parser/parse_expr.c +++ b/src/backend/parser/parse_expr.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.130 2002/11/15 02:50:09 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.131 2002/11/26 03:01:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -122,7 +122,6 @@ transformExpr(ParseState *pstate, Node *expr, ConstraintTestValue *domVal) param = makeNode(Param); param->paramkind = PARAM_NUM; param->paramid = (AttrNumber) paramno; - param->paramname = "<unnamed>"; param->paramtype = paramtyp; result = (Node *) param; /* handle qualification, if any */ |