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

Commit6a6ebb9

Browse files
committed
Initialize wal_level in the initial checkpoint record.
As per Coverity and Tom Lane, commit402b586 (back-patched to v17as2b5819e) forgot to initialize this new structure member in thiscode path.
1 parente4326fb commit6a6ebb9

File tree

1 file changed

+1
-0
lines changed
  • src/backend/access/transam

1 file changed

+1
-0
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5045,6 +5045,7 @@ BootStrapXLOG(void)
50455045
checkPoint.ThisTimeLineID=BootstrapTimeLineID;
50465046
checkPoint.PrevTimeLineID=BootstrapTimeLineID;
50475047
checkPoint.fullPageWrites=fullPageWrites;
5048+
checkPoint.wal_level=wal_level;
50485049
checkPoint.nextXid=
50495050
FullTransactionIdFromEpochAndXid(0,FirstNormalTransactionId);
50505051
checkPoint.nextOid=FirstGenbkiObjectId;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp