OSDN Git Service

Add:
[pg-rex/syncrep.git] / 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.11 2000/01/26 05:58:30 momjian Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef REWRITESUPPORT_H
15 #define REWRITESUPPORT_H
16
17 #include "access/attnum.h"
18 #include "nodes/pg_list.h"
19
20 extern int      IsDefinedRewriteRule(char *ruleName);
21
22 extern void prs2_addToRelation(Oid relid, Oid ruleId, CmdType event_type,
23                                    AttrNumber attno, bool isInstead, Node *qual,
24                                    List *actions);
25 extern void prs2_deleteFromRelation(Oid relid, Oid ruleId);
26
27
28 #endif   /* REWRITESUPPORT_H */