OSDN Git Service

Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias.
[pg-rex/syncrep.git] / src / include / rewrite / rewriteSupport.h
index 36d03f6..39605df 100644 (file)
@@ -1,26 +1,22 @@
 /*-------------------------------------------------------------------------
  *
- * rewriteSupport.h--
- *    
+ * rewriteSupport.h
  *
  *
- * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rewriteSupport.h,v 1.2 1996/11/06 10:31:02 scrappy Exp $
+ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: rewriteSupport.h,v 1.13 2000/09/29 18:21:24 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
-#ifndef        REWRITESUPPORT_H
-#define        REWRITESUPPORT_H
-
-
-extern int IsDefinedRewriteRule(char *ruleName);
-
-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);
+#ifndef REWRITESUPPORT_H
+#define REWRITESUPPORT_H
 
+extern int     IsDefinedRewriteRule(char *ruleName);
 
-#endif /* REWRITESUPPORT_H */
+extern void SetRelationRuleStatus(Oid relationId, bool relHasRules,
+                                                                 bool relIsBecomingView);
 
+#endif  /* REWRITESUPPORT_H */