1 /*-------------------------------------------------------------------------
4 * External interface to query rewriter.
7 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
12 *-------------------------------------------------------------------------
14 #ifndef REWRITEHANDLER_H
15 #define REWRITEHANDLER_H
17 #include "utils/relcache.h"
18 #include "nodes/parsenodes.h"
20 extern List
*QueryRewrite(Query
*parsetree
);
21 extern void AcquireRewriteLocks(Query
*parsetree
);
22 extern Node
*build_column_default(Relation rel
, int attrno
);
24 #endif /* REWRITEHANDLER_H */