mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 17:41:16 +02:00
Initialize 'recordXtime' to silence compiler warning.
In reality, recordXtime will always be set by the getRecordTimestamp call, but the compiler doesn't necessarily see that. Back-patch to all supported versions. Author: Tristan Partin Discussion: https://www.postgresql.org/message-id/CT5MN8E11U0M.1NYNCHXYUHY41@gonk
This commit is contained in:
parent
0aa5e4af1b
commit
2a7fb52075
@ -2621,7 +2621,7 @@ recoveryStopsAfter(XLogReaderState *record)
|
||||
uint8 info;
|
||||
uint8 xact_info;
|
||||
uint8 rmid;
|
||||
TimestampTz recordXtime;
|
||||
TimestampTz recordXtime = 0;
|
||||
|
||||
/*
|
||||
* Ignore recovery target settings when not in archive recovery (meaning
|
||||
|
Loading…
Reference in New Issue
Block a user