summaryrefslogtreecommitdiff
path: root/src/include/rewrite/rewriteSupport.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-28 07:27:54 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-28 07:27:54 +0000
commit870be9fa8e5ead7a9fec1b1cf539c701bba57d2a (patch)
tree0980ed1b45ec7974d2ceea9df3d0570c165804b6 /src/include/rewrite/rewriteSupport.h
parent907c884fe8b88d3df5883c278cacb094a1cfc7ac (diff)
downloadpostgresql-870be9fa8e5ead7a9fec1b1cf539c701bba57d2a.tar.gz
Clean up th ecompile process by centralizing the include files
- code compile tested, but due to a yet unresolved problem with parse.h's creation, compile not completed...
Diffstat (limited to 'src/include/rewrite/rewriteSupport.h')
-rw-r--r--src/include/rewrite/rewriteSupport.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/rewrite/rewriteSupport.h b/src/include/rewrite/rewriteSupport.h
new file mode 100644
index 0000000000..6dcaf09499
--- /dev/null
+++ b/src/include/rewrite/rewriteSupport.h
@@ -0,0 +1,27 @@
+/*-------------------------------------------------------------------------
+ *
+ * rewriteSupport.h--
+ *
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: rewriteSupport.h,v 1.1 1996/08/28 07:24:13 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef REWRITESUPPORT_H
+#define REWRITESUPPORT_H
+
+#include "nodes/pg_list.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);
+
+
+#endif /* REWRITESUPPORT_H */
+