Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / include / rewrite / rewriteSupport.h
blob0a62ec19896fe75610355bbf1f3b63a8cedb7701
1 /*-------------------------------------------------------------------------
3 * rewriteSupport.h
7 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $PostgreSQL$
12 *-------------------------------------------------------------------------
14 #ifndef REWRITESUPPORT_H
15 #define REWRITESUPPORT_H
17 /* The ON SELECT rule of a view is always named this: */
18 #define ViewSelectRuleName "_RETURN"
20 extern bool IsDefinedRewriteRule(Oid owningRel, const char *ruleName);
22 extern void SetRelationRuleStatus(Oid relationId, bool relHasRules,
23 bool relIsBecomingView);
25 #endif /* REWRITESUPPORT_H */