Initialize 'recordXtime' to silence compiler warning.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 Jun 2023 17:30:53 +0000 (20:30 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 6 Jun 2023 17:30:53 +0000 (20:30 +0300)
commit95f0340c3bc745aee3aa90847efd2007e40236e9
tree8cc674dbc0e06d455db3f3fe9a7739526fa9a27c
parent3f1aaaa180689f2015e7f7bd01c9be6d7a993b42
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
src/backend/access/transam/xlogrecovery.c