OSDN Git Service

pgindent run. Make it all clean.
[pg-rex/syncrep.git] / src / include / rewrite / rewriteSupport.h
index 0984431..cda3d0f 100644 (file)
@@ -1,28 +1,22 @@
 /*-------------------------------------------------------------------------
  *
- * rewriteSupport.h--
+ * rewriteSupport.h
  *
  *
  *
- * Copyright (c) 1994, Regents of the University of California
+ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rewriteSupport.h,v 1.8 1998/02/26 04:43:13 momjian Exp $
+ * $Id: rewriteSupport.h,v 1.16 2001/03/22 04:01:04 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef REWRITESUPPORT_H
 #define REWRITESUPPORT_H
 
-#include "access/attnum.h"
-#include "nodes/pg_list.h"
+extern bool IsDefinedRewriteRule(char *ruleName);
 
-extern int     IsDefinedRewriteRule(char *ruleName);
+extern void SetRelationRuleStatus(Oid relationId, bool relHasRules,
+                                         bool relIsBecomingView);
 
-extern void
-prs2_addToRelation(Oid relid, Oid ruleId, CmdType event_type,
-                                  AttrNumber attno, bool isInstead, Node *qual,
-                                  List *actions);
-extern void prs2_deleteFromRelation(Oid relid, Oid ruleId);
-
-
-#endif                                                 /* REWRITESUPPORT_H */
+#endif  /* REWRITESUPPORT_H */