postgres.git / summary / log / commit / refs

commit    016c9908347ed2ba7b9d7101c858ea7730b6c0b0
Author:   Magnus Hagander <magnus@hagander.net>
Date:     Tue Feb 28 11:16:42 2017 +0000

    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


src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 50162739f8e..897358342db 100644 --- 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) { - XLogRecPtr slotSegNo; + XLogSegNo slotSegNo; XLByteToSeg(keep, slotSegNo); [parent: 9b88f27cb42f]