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

Commitce6f8d9

Browse files
hlinnakapull[bot]
authored andcommitted
Initialize 'recordXtime' to silence compiler warning.
In reality, recordXtime will always be set by the getRecordTimestampcall, but the compiler doesn't necessarily see that.Back-patch to all supported versions.Author: Tristan PartinDiscussion:https://www.postgresql.org/message-id/CT5MN8E11U0M.1NYNCHXYUHY41@gonk
1 parentad38f03 commitce6f8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ recoveryStopsAfter(XLogReaderState *record)
26442644
uint8info;
26452645
uint8xact_info;
26462646
uint8rmid;
2647-
TimestampTzrecordXtime;
2647+
TimestampTzrecordXtime=0;
26482648

26492649
/*
26502650
* Ignore recovery target settings when not in archive recovery (meaning

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp