Re: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo
В списке pgsql-hackers по дате отправления:
| От | torikoshia |
|---|---|
| Тема | Re: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo |
| Дата | |
| Msg-id | c6da1bbab64e80b5126de5be5f36d906@oss.nttdata.com обсуждение |
| Ответ на | Re: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo (Fujii Masao <masao.fujii@oss.nttdata.com>) |
| Ответы |
Re: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo
|
| Список | pgsql-hackers |
On 2020-07-08 11:15, Fujii Masao wrote: > On 2020/07/08 11:02, torikoshia wrote: >> 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? > > I agree that using XLogRecPtr for slot_keep_segs is incorrect. > But this variable indicates the number of segments rather than > segment no, uint64 seems better. Thought? That makes sense. The number of segments and segment number are different. Regards, -- Atsushi Torikoshi NTT DATA CORPORATION
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера