aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/parse_target.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-01-17 02:04:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-01-17 02:04:16 +0000
commitac4878a06009c34bf26b12f358fc45bef13829bf (patch)
treed26aace1a158c3a4b2a8d28e95adad2dc5a53641 /src/include/parser/parse_target.h
parentceca03600e4dce4848d712355a720ddad2a5e476 (diff)
downloadpostgresql-ac4878a06009c34bf26b12f358fc45bef13829bf.tar.gz
postgresql-ac4878a06009c34bf26b12f358fc45bef13829bf.zip
Pass atttypmod to CoerceTargetExpr, so that it can pass it on to
coerce_type, so that the right things happen when coercing a previously- unknown constant to a destination data type.
Diffstat (limited to 'src/include/parser/parse_target.h')
-rw-r--r--src/include/parser/parse_target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/parser/parse_target.h b/src/include/parser/parse_target.h
index 08cf389d72e..022abd58520 100644
--- a/src/include/parser/parse_target.h
+++ b/src/include/parser/parse_target.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_target.h,v 1.16 1999/11/01 05:06:20 tgl Exp $
+ * $Id: parse_target.h,v 1.17 2000/01/17 02:04:15 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -23,7 +23,7 @@ extern void updateTargetListEntry(ParseState *pstate, TargetEntry *tle,
char *colname, int attrno,
List *indirection);
extern Node *CoerceTargetExpr(ParseState *pstate, Node *expr,
- Oid type_id, Oid attrtype);
+ Oid type_id, Oid attrtype, int32 attrtypmod);
extern List *checkInsertTargets(ParseState *pstate, List *cols,
List **attrnos);