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

Commit8b8cd43

Browse files
committed
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 parent9b1e89c commit8b8cd43

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5891,7 +5891,7 @@ recoveryStopsAfter(XLogReaderState *record)
58915891
uint8info;
58925892
uint8xact_info;
58935893
uint8rmid;
5894-
TimestampTzrecordXtime;
5894+
TimestampTzrecordXtime=0;
58955895

58965896
/*
58975897
* Ignore recovery target settings when not in archive recovery (meaning

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp