diff options
author | Magnus Hagander <magnus@hagander.net> | 2017-02-28 12:16:42 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2017-02-28 12:18:49 +0100 |
commit | 71b33680883a359bb75fdb40d64b11d284b73d5c (patch) | |
tree | 95d65885b054b5d3c38d625f7b3a8c6394d98b6f /src | |
parent | 1f0d78863eb88ca8ee9c3b5215d532900e722e57 (diff) | |
download | postgresql-71b33680883a359bb75fdb40d64b11d284b73d5c.tar.gz postgresql-71b33680883a359bb75fdb40d64b11d284b73d5c.zip |
Fix incorrect variable datatype
Both datatypes map to the same underlying one which is why it still
worked, but we should use the correct type.
Author: Kyotaro HORIGUCHI
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 91edd54e8a8..b3d45b74f36 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -8963,7 +8963,7 @@ KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo) /* then check whether slots limit removal further */ if (max_replication_slots > 0 && keep != InvalidXLogRecPtr) { - XLogRecPtr slotSegNo; + XLogSegNo slotSegNo; XLByteToSeg(keep, slotSegNo); |