projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6f766
)
Fix incorrect variable datatype
author
Magnus Hagander
<
[email protected]
>
Tue, 28 Feb 2017 11:16:42 +0000
(12:16 +0100)
committer
Magnus Hagander
<
[email protected]
>
Tue, 28 Feb 2017 11:18:34 +0000
(12:18 +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 e141c963461b7df6f35a4054758af780e1457c6d..948b08cd7db9d7b6bf4312e11d1ac95eb3e40549 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-8965,7
+8965,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);