summaryrefslogtreecommitdiff
path: root/src/include/parser/parse_expr.h
diff options
context:
space:
mode:
authorTom Lane2002-03-21 16:02:16 +0000
committerTom Lane2002-03-21 16:02:16 +0000
commit9350f521ed4770eee43a501456a1d21622d19319 (patch)
treeb446096058d3a22d7d64c235554f94940a582b80 /src/include/parser/parse_expr.h
parent0e5572d9f0e1a4066f7b1b9795629cbd295c041d (diff)
First phase of SCHEMA changes, concentrating on fixing the grammar and
the parsetree representation. As yet we don't *do* anything with schema names, just drop 'em on the floor; but you can enter schema-compatible command syntax, and there's even a primitive CREATE SCHEMA command. No doc updates yet, except to note that you can now extract a field from a function-returning-row's result with (foo(...)).fieldname.
Diffstat (limited to 'src/include/parser/parse_expr.h')
-rw-r--r--src/include/parser/parse_expr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/parser/parse_expr.h b/src/include/parser/parse_expr.h
index ce7af80abf..737bdd108c 100644
--- a/src/include/parser/parse_expr.h
+++ b/src/include/parser/parse_expr.h
@@ -16,13 +16,12 @@
#include "parser/parse_node.h"
-#define EXPR_COLUMN_FIRST 1
-#define EXPR_RELATION_FIRST 2
+/* GUC parameters */
extern int max_expr_depth;
extern bool Transform_null_equals;
-extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
+extern Node *transformExpr(ParseState *pstate, Node *expr);
extern Oid exprType(Node *expr);
extern int32 exprTypmod(Node *expr);
extern bool exprIsLengthCoercion(Node *expr, int32 *coercedTypmod);