Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit49b0418

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 withtrack_commit_timestamps, but that's master-only.Report and fix by Petr Jalinek. Backpatch to 9.4, where wal_log_hints wasadded.
1 parent8e166e1 commit49b0418

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)

[8]ページ先頭

©2009-2025 Movatter.jp