From fd19a350ea0a69f26ac2f8cdc28fdd4ff9264adb Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 5 Aug 1999 02:33:54 +0000 Subject: Revise parse_coerce() to handle coercion of int and float constants, not only string constants, at parse time. Get rid of parser_typecast2(), which is bogus and redundant... --- src/include/parser/parse_expr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include/parser/parse_expr.h') diff --git a/src/include/parser/parse_expr.h b/src/include/parser/parse_expr.h index 3bd4d3fb47c..52d723db1cf 100644 --- a/src/include/parser/parse_expr.h +++ b/src/include/parser/parse_expr.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_expr.h,v 1.14 1999/07/19 00:26:16 tgl Exp $ + * $Id: parse_expr.h,v 1.15 1999/08/05 02:33:51 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -22,6 +22,5 @@ extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence); extern Oid exprType(Node *expr); extern int32 exprTypmod(Node *expr); -extern Node *parser_typecast2(Node *expr, Oid exprType, Type tp, int32 attypmod); #endif /* PARSE_EXPR_H */ -- cgit v1.2.3