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

Commit2a7fb52

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 parent0aa5e4a commit2a7fb52

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
@@ -2621,7 +2621,7 @@ recoveryStopsAfter(XLogReaderState *record)
26212621
uint8info;
26222622
uint8xact_info;
26232623
uint8rmid;
2624-
TimestampTzrecordXtime;
2624+
TimestampTzrecordXtime=0;
26252625

26262626
/*
26272627
* Ignore recovery target settings when not in archive recovery (meaning

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp