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:34 +0100 |
commit | 2cc16380a46d4c2103aa6caa6aaf0170863f8509 (patch) | |
tree | 880cbc92a90363d9a4107422fa43eff5fcbdacf3 | |
parent | 3c6f766f68114785195cf50700c71021942e60a9 (diff) | |
download | postgresql-2cc16380a46d4c2103aa6caa6aaf0170863f8509.tar.gz postgresql-2cc16380a46d4c2103aa6caa6aaf0170863f8509.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
-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 e141c963461..948b08cd7db 100644 --- 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) { - XLogRecPtr slotSegNo; + XLogSegNo slotSegNo; XLByteToSeg(keep, slotSegNo); |