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
02446e0583
commit
5b0e76dce6
|
@ -5972,7 +5972,7 @@ recoveryStopsAfter(XLogReaderState *record)
|
|||
uint8 info;
|
||||
uint8 xact_info;
|
||||
uint8 rmid;
|
||||
TimestampTz recordXtime;
|
||||
TimestampTz recordXtime = 0;
|
||||
|
||||
info = XLogRecGetInfo(record) & ~XLR_INFO_MASK;
|
||||
rmid = XLogRecGetRmid(record);
|
||||
|
|
Loading…
Reference in New Issue