Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo

From: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo
Date: 2020-07-08 02:02:17
Message-ID: ebd0d674f3e050222238a960cac5251a@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-change_type_of_slot_keep_segs.patch text/x-diff 509 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message movead.li@highgo.ca 2020-07-08 02:11:28 Re: A patch for get origin from commit_ts.
Previous Message Fujii Masao 2020-07-08 02:01:46 Re: change a function name in a comment correctly