summaryrefslogtreecommitdiff
path: root/src/include/parser/parse_target.h
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1998-05-29 14:07:50 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1998-05-29 14:07:50 +0000
commit2d4c6cab962fa17486ad2843f4d2bf0e5eec3628 (patch)
tree2f6261e53f45e3be52d13ef5a608db4fe1bf1142 /src/include/parser/parse_target.h
parentd2404c17c9df0b187a95f5674d18438d3e4d717f (diff)
downloadpostgresql-2d4c6cab962fa17486ad2843f4d2bf0e5eec3628.tar.gz
Define new routines oper_exact() and oper_inexact().
Add coerce_target_expr().
Diffstat (limited to 'src/include/parser/parse_target.h')
-rw-r--r--src/include/parser/parse_target.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/parser/parse_target.h b/src/include/parser/parse_target.h
index cb75d61615..466f0329b6 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.5 1998/05/21 03:53:51 scrappy Exp $
+ * $Id: parse_target.h,v 1.6 1998/05/29 14:07:50 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,6 +25,9 @@
extern List *transformTargetList(ParseState *pstate, List *targetlist);
extern List *makeTargetNames(ParseState *pstate, List *cols);
extern void transformTargetId(ParseState *pstate, Ident *ident,
- TargetEntry *tent, char *resname, int16 resjunk);
+ TargetEntry *tent, char *resname,
+ int16 resjunk);
+extern Node *coerce_target_expr(ParseState *pstate, Node *expr,
+ Oid type_id, Oid attrtype);
#endif /* PARSE_TARGET_H */