Fix incorrect variable datatype.
authorFujii Masao <fujii@postgresql.org>
Wed, 8 Jul 2020 12:24:34 +0000 (21:24 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 8 Jul 2020 12:24:34 +0000 (21:24 +0900)
commit654242fd81cfbdd229ec2a752a9f857a84cc039b
tree5f32bc920c42a8a9b68ba2f7c7e2cede42546438
parenteb2c8a8f816b6c411047eeab7a326e8356a2c0a8
Fix incorrect variable datatype.

Since slot_keep_segs indicates the number of WAL segments not LSN,
its datatype should not be XLogRecPtr.

Back-patch to v13 where this issue was added.

Reported-by: Atsushi Torikoshi
Author: Atsushi Torikoshi, tweaked by Fujii Masao
Discussion: https://postgr.es/m/ebd0d674f3e050222238a960cac5251a@oss.nttdata.com
src/backend/access/transam/xlog.c