]> granicus.if.org Git - postgresql/blob - src/include/rewrite/rewriteSupport.h
Use a private memory context to store rule information in each relcache
[postgresql] / src / include / rewrite / rewriteSupport.h
1 /*-------------------------------------------------------------------------
2  *
3  * rewriteSupport.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: rewriteSupport.h,v 1.12 2000/06/30 07:04:04 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef REWRITESUPPORT_H
15 #define REWRITESUPPORT_H
16
17 extern int      IsDefinedRewriteRule(char *ruleName);
18
19 extern void setRelhasrulesInRelation(Oid relationId, bool relhasrules);
20
21 #endif   /* REWRITESUPPORT_H */