aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-01-01 20:17:00 -0500
committerRobert Haas <rhaas@postgresql.org>2014-01-01 20:17:00 -0500
commit4b351841fa0b90cb72f5f63c56f06e4511850ac4 (patch)
tree10a6f5f87cc1dffe1d4da7b9c55d01e9687764a2 /src/include/access/xlog.h
parent7c957ec83eeefa8b6d3179f3af0a5dc338d2252b (diff)
downloadpostgresql-4b351841fa0b90cb72f5f63c56f06e4511850ac4.tar.gz
postgresql-4b351841fa0b90cb72f5f63c56f06e4511850ac4.zip
Rename walLogHints to wal_log_hints for easier grepping.
Michael Paquier
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index 954486a9130..91ba0d1dba1 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 walLogHints;
+extern bool wal_log_hints;
extern bool log_checkpoints;
extern int num_xloginsert_slots;
@@ -221,7 +221,7 @@ extern int wal_level;
* of the bits make it to disk, but the checksum wouldn't match. Also WAL-log
* them if forced by wal_log_hints=on.
*/
-#define XLogHintBitIsNeeded() (DataChecksumsEnabled() || walLogHints)
+#define XLogHintBitIsNeeded() (DataChecksumsEnabled() || wal_log_hints)
/* Do we need to WAL-log information required only for Hot Standby and logical replication? */
#define XLogStandbyInfoActive() (wal_level >= WAL_LEVEL_HOT_STANDBY)