aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog_internal.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-11-28 12:35:01 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-11-28 13:01:15 -0300
commit1577b46b7c81e490cf5c8f0e90d0e5d0c09b5414 (patch)
tree6b7b73eea52d8beb905c8c4b592235cba4c41565 /src/include/access/xlog_internal.h
parentdd7353dde82ad451bf681b37175be128995330fe (diff)
downloadpostgresql-1577b46b7c81e490cf5c8f0e90d0e5d0c09b5414.tar.gz
postgresql-1577b46b7c81e490cf5c8f0e90d0e5d0c09b5414.zip
Split out rmgr rm_desc functions into their own files
This is necessary (but not sufficient) to have them compilable outside of a backend environment.
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r--src/include/access/xlog_internal.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index b70a62052c4..89252d02301 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -205,6 +205,25 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
(uint32) ((logSegNo) / XLogSegmentsPerXLogId), \
(uint32) ((logSegNo) % XLogSegmentsPerXLogId), offset)
+/*
+ * Information logged when we detect a change in one of the parameters
+ * important for Hot Standby.
+ */
+typedef struct xl_parameter_change
+{
+ int MaxConnections;
+ int max_prepared_xacts;
+ int max_locks_per_xact;
+ int wal_level;
+} xl_parameter_change;
+
+/* logs restore point */
+typedef struct xl_restore_point
+{
+ TimestampTz rp_time;
+ char rp_name[MAXFNAMELEN];
+} xl_restore_point;
+
/*
* Method table for resource managers.