]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:25:33 +0000 (21:25 +0900)
commita2b94693beb1d052f2b4935384dd6f7f47143669
tree919188540600b47710fa2e6b399239b212e9d835
parentea5737889f0586c2d46738bc52b97b86369f03e2
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