projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddbeb1d
)
Initialize 'recordXtime' to silence compiler warning.
author
Heikki Linnakangas
<
[email protected]
>
Tue, 6 Jun 2023 17:30:53 +0000
(20:30 +0300)
committer
Heikki Linnakangas
<
[email protected]
>
Tue, 6 Jun 2023 17:32:46 +0000
(20:32 +0300)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 6431963ee3a52491b33b98beea6b89d6f0ce03bd..dbd72c0a16b49fcfd877295f4e3759e220376b5b 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-5840,7
+5840,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