Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo

torikoshia <torikoshia@oss.nttdata.com>

From: torikoshia <torikoshia@oss.nttdata.com>
To: pgsql-hackers@postgresql.org
Date: 2020-07-08T02:02:17Z
Lists: pgsql-hackers

Attachments

Hi,

Currently, slot_keep_segs is defined as "XLogRecPtr" in KeepLogSeg(),
but it seems that should be "XLogSegNo" because this variable is
segment number.

How do you think?

Regards,

--
Atsushi Torikoshi
NTT DATA CORPORATION

Commits

  1. Fix incorrect variable datatype.