Content-Length: 262066 | pFad | http://github.com/postgrespro/postgres/commit/49b04188f83fb8cacf925978989bc20399e76786

BE Fix thinko in re-setting wal_log_hints flag from a parameter-change r… · postgrespro/postgres@49b0418 · GitHub
Skip to content

Commit 49b0418

Browse files
committed
Fix thinko in re-setting wal_log_hints flag from a parameter-change record.
The flag is supposed to be copied from the record. Same issue with track_commit_timestamps, but that's master-only. Report and fix by Petr Jalinek. Backpatch to 9.4, where wal_log_hints was added.
1 parent 8e166e1 commit 49b0418

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8962,8 +8962,8 @@ xlog_redo(XLogReaderState *record)
89628962
ControlFile->max_prepared_xacts = xlrec.max_prepared_xacts;
89638963
ControlFile->max_locks_per_xact = xlrec.max_locks_per_xact;
89648964
ControlFile->wal_level = xlrec.wal_level;
8965-
ControlFile->wal_log_hints = wal_log_hints;
8966-
ControlFile->track_commit_timestamp = track_commit_timestamp;
8965+
ControlFile->wal_log_hints = xlrec.wal_log_hints;
8966+
ControlFile->track_commit_timestamp = xlrec.track_commit_timestamp;
89678967

89688968
/*
89698969
* Update minRecoveryPoint to ensure that if recovery is aborted, we

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/49b04188f83fb8cacf925978989bc20399e76786

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy