summaryrefslogtreecommitdiff
path: root/src/include/storage/reinit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/reinit.h')
-rw-r--r--src/include/storage/reinit.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/storage/reinit.h b/src/include/storage/reinit.h
new file mode 100644
index 00000000000..9999dff37d2
--- /dev/null
+++ b/src/include/storage/reinit.h
@@ -0,0 +1,23 @@
+/*-------------------------------------------------------------------------
+ *
+ * reinit.h
+ * Reinitialization of unlogged relations
+ *
+ *
+ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/include/storage/fd.h
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef REINIT_H
+#define REINIT_H
+
+extern void ResetUnloggedRelations(int op);
+
+#define UNLOGGED_RELATION_CLEANUP 0x0001
+#define UNLOGGED_RELATION_INIT 0x0002
+
+#endif /* REINIT_H */