Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / parser / analyze.h
blobf8f981bfba6a7978a91ed3b2e5be2e02bfe99190
1 /*-------------------------------------------------------------------------
3 * analyze.h
4 * parse analysis for optimizable statements
7 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL$
12 *-------------------------------------------------------------------------
14 #ifndef ANALYZE_H
15 #define ANALYZE_H
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 void CheckSelectLocking(Query *qry);
29 extern void applyLockingClause(Query *qry, Index rtindex,
30 bool forUpdate, bool noWait);
32 #endif /* ANALYZE_H */