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:25 +0100 |
commit | 965956a03305fb8517c584ffffd37515344f4101 (patch) | |
tree | a788bc163dbbf1a415bd66837ce62eb4f1742ac0 /src | |
parent | f97f4fc028ccc284683ba400a51d59e534901336 (diff) | |
download | postgresql-965956a03305fb8517c584ffffd37515344f4101.tar.gz postgresql-965956a03305fb8517c584ffffd37515344f4101.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 ce89efc1941..7a7e07a4752 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -9012,7 +9012,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); |