]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:32:02 +0000 (20:32 +0300)
commit525ec837e108db1a41159b8d2caee26b19bae849
tree73bcc3e426eaa7a25d34fb496243ce589b67ef55
parent1b322c1faee965855ce393b5b23c3d3dc8cb6a2d
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/xlog.c