1 /*-------------------------------------------------------------------------
4 * parse analysis for optimizable statements
7 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
12 *-------------------------------------------------------------------------
17 #include "parser/parse_node.h"
20 extern Query
*parse_analyze(Node
*parseTree
, const char *sourceText
,
21 Oid
*paramTypes
, int numParams
);
22 extern Query
*parse_analyze_varparams(Node
*parseTree
, const char *sourceText
,
23 Oid
**paramTypes
, int *numParams
);
25 extern Query
*parse_sub_analyze(Node
*parseTree
, ParseState
*parentParseState
);
26 extern Query
*transformStmt(ParseState
*pstate
, Node
*parseTree
);
28 extern bool analyze_requires_snapshot(Node
*parseTree
);
30 extern void CheckSelectLocking(Query
*qry
);
31 extern void applyLockingClause(Query
*qry
, Index rtindex
,
32 bool forUpdate
, bool noWait
);
34 #endif /* ANALYZE_H */