1 /*-------------------------------------------------------------------------
7 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $Id: rewriteSupport.h,v 1.11 2000/01/26 05:58:30 momjian Exp $
12 *-------------------------------------------------------------------------
14 #ifndef REWRITESUPPORT_H
15 #define REWRITESUPPORT_H
17 #include "access/attnum.h"
18 #include "nodes/pg_list.h"
20 extern int IsDefinedRewriteRule(char *ruleName);
22 extern void prs2_addToRelation(Oid relid, Oid ruleId, CmdType event_type,
23 AttrNumber attno, bool isInstead, Node *qual,
25 extern void prs2_deleteFromRelation(Oid relid, Oid ruleId);
28 #endif /* REWRITESUPPORT_H */