aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_xlogdump/rmgrdesc.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pg_xlogdump/rmgrdesc.h')
-rw-r--r--contrib/pg_xlogdump/rmgrdesc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/pg_xlogdump/rmgrdesc.h b/contrib/pg_xlogdump/rmgrdesc.h
new file mode 100644
index 00000000000..2341739a14e
--- /dev/null
+++ b/contrib/pg_xlogdump/rmgrdesc.h
@@ -0,0 +1,21 @@
+/*
+ * rmgrdesc.h
+ *
+ * pg_xlogdump resource managers declaration
+ *
+ * contrib/pg_xlogdump/rmgrdesc.h
+ */
+#ifndef RMGRDESC_H
+#define RMGRDESC_H
+
+#include "lib/stringinfo.h"
+
+typedef struct RmgrDescData
+{
+ const char *rm_name;
+ void (*rm_desc) (StringInfo buf, uint8 xl_info, char *rec);
+} RmgrDescData;
+
+extern const RmgrDescData RmgrDescTable[];
+
+#endif /* RMGRDESC_H */