diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-25 22:42:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-25 22:42:34 +0000 |
commit | e5536e77a50e2b6a5881a2ce9ef1c6debcb5d909 (patch) | |
tree | 20290f848c7d898e9be71e4aad86df84a02e8b99 /src/include/parser/parse_expr.h | |
parent | d320101b5b1cde0d0d6d4133f618dd374fc14bea (diff) |
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.
Diffstat (limited to 'src/include/parser/parse_expr.h')
-rw-r--r-- | src/include/parser/parse_expr.h | 10 |
1 files changed, 2 insertions, 8 deletions
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 */ |