From e5536e77a50e2b6a5881a2ce9ef1c6debcb5d909 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 25 Aug 2008 22:42:34 +0000 Subject: Move exprType(), exprTypmod(), expression_tree_walker(), and related routines into nodes/nodeFuncs, so as to reduce wanton cross-subsystem #includes inside the backend. There's probably more that should be done along this line, but this is a start anyway. --- src/include/parser/parse_expr.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 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 6e70583ba02..cb921fd2fbd 100644 --- a/src/include/parser/parse_expr.h +++ b/src/include/parser/parse_expr.h @@ -1,13 +1,12 @@ /*------------------------------------------------------------------------- * * parse_expr.h - * - * + * handle expressions in parser * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/parse_expr.h,v 1.38 2008/01/01 19:45:58 momjian Exp $ + * $PostgreSQL: pgsql/src/include/parser/parse_expr.h,v 1.39 2008/08/25 22:42:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,14 +15,9 @@ #include "parser/parse_node.h" - /* GUC parameters */ extern bool Transform_null_equals; - extern Node *transformExpr(ParseState *pstate, Node *expr); -extern Oid exprType(Node *expr); -extern int32 exprTypmod(Node *expr); -extern bool exprIsLengthCoercion(Node *expr, int32 *coercedTypmod); #endif /* PARSE_EXPR_H */ -- cgit v1.2.3