projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b88f27
)
Fix incorrect variable datatype
author
Magnus Hagander
Tue, 28 Feb 2017 11:16:42 +0000
(12:16 +0100)
committer
Magnus Hagander
Tue, 28 Feb 2017 11:20:35 +0000
(12:20 +0100)
Both datatypes map to the same underlying one which is why it still
worked, but we should use the correct type.
Author: Kyotaro HORIGUCHI
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 50162739f8e2a5f0eab454aee94ce35747aa934d..897358342dbc322b039892d0da90e95319525566 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-9263,7
+9263,7
@@
KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)
/* then check whether slots limit removal further */
if (max_replication_slots > 0 && keep != InvalidXLogRecPtr)
{
- XLog
RecPtr
slotSegNo;
+ XLog
SegNo
slotSegNo;
XLByteToSeg(keep, slotSegNo);