File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 88 * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
99 * Portions Copyright (c) 1994, Regents of the University of California
1010 *
11- * $PostgreSQL: pgsql/src/include/catalog/pg_control.h,v 1.56 2010/06/03 14:50:30 tgl Exp $
11+ * $PostgreSQL: pgsql/src/include/catalog/pg_control.h,v 1.57 2010/06/03 20:37:13 alvherre Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
2626/*
2727 * Body of CheckPoint XLOG records. This is declared here because we keep
2828 * a copy of the latest one in pg_control for possible disaster recovery.
29+ * Changing this struct requires a PG_CONTROL_VERSION bump.
2930 */
3031typedef struct CheckPoint
3132{
@@ -60,7 +61,10 @@ typedef struct CheckPoint
6061#define XLOG_PARAMETER_CHANGE 0x60
6162
6263
63- /* System status indicator */
64+ /*
65+ * System status indicator. Note this is stored in pg_control; if you change
66+ * it, you must bump PG_CONTROL_VERSION
67+ */
6468typedef enum DBState
6569{
6670 DB_STARTUP = 0 ,
You can’t perform that action at this time.
0 commit comments