Fix incorrect variable datatype.
Fujii Masao <fujii@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +1 −1 |
Discussion
- Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo 6 messages · 2020-07-08 → 2020-07-09