Initialize 'recordXtime' to silence compiler warning.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 95f0340c3bc745aee3aa90847efd2007e40236e9
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2023-06-06T17:30:53Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/access/transam/xlogrecovery.c modified +1 −1

Discussion