summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFujii Masao2013-12-20 18:33:16 +0000
committerFujii Masao2013-12-20 18:33:16 +0000
commit961bf59fb7a7e4fab751e20e9372de7ab37c5649 (patch)
tree424302641c6bcd98b82e438242c4116e02c85503 /src/include
parent6130208e75c98d76b526ac2ac08cedbd17b9f00d (diff)
Rename wal_log_hintbits to wal_log_hints, per discussion on pgsql-hackers.
Sawada Masahiko
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/xlog.h6
-rw-r--r--src/include/access/xlog_internal.h2
-rw-r--r--src/include/catalog/pg_control.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index e69accd4b2e..954486a9130 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -189,7 +189,7 @@ extern bool XLogArchiveMode;
extern char *XLogArchiveCommand;
extern bool EnableHotStandby;
extern bool fullPageWrites;
-extern bool walLogHintbits;
+extern bool walLogHints;
extern bool log_checkpoints;
extern int num_xloginsert_slots;
@@ -219,9 +219,9 @@ extern int wal_level;
* we have to protect them against torn page writes. When you only set
* individual bits on a page, it's still consistent no matter what combination
* of the bits make it to disk, but the checksum wouldn't match. Also WAL-log
- * them if forced by wal_log_hintbits=on.
+ * them if forced by wal_log_hints=on.
*/
-#define XLogHintBitIsNeeded() (DataChecksumsEnabled() || walLogHintbits)
+#define XLogHintBitIsNeeded() (DataChecksumsEnabled() || walLogHints)
/* Do we need to WAL-log information required only for Hot Standby and logical replication? */
#define XLogStandbyInfoActive() (wal_level >= WAL_LEVEL_HOT_STANDBY)
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index d0022b37516..c301d5e5d65 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -209,7 +209,7 @@ typedef struct xl_parameter_change
int max_prepared_xacts;
int max_locks_per_xact;
int wal_level;
- bool wal_log_hintbits;
+ bool wal_log_hints;
} xl_parameter_change;
/* logs restore point */
diff --git a/src/include/catalog/pg_control.h b/src/include/catalog/pg_control.h
index 8f23508ad0f..4dec341152a 100644
--- a/src/include/catalog/pg_control.h
+++ b/src/include/catalog/pg_control.h
@@ -171,7 +171,7 @@ typedef struct ControlFileData
* or hot standby.
*/
int wal_level;
- bool wal_log_hintbits;
+ bool wal_log_hints;
int MaxConnections;
int max_worker_processes;
int max_prepared_xacts;