[HACKERS] Incorrect comment of XLByteToSeg() and XLByteToPrevSeg()

Поиск
Список
Период
Сортировка
Искать
От
Yugo Nagata
Тема
[HACKERS] Incorrect comment of XLByteToSeg() and XLByteToPrevSeg()
Дата
Msg-id
20170720224425.9e967e54.nagata@sraoss.co.jp
Список
Дерево обсуждения
[HACKERS] Incorrect comment of XLByteToSeg() and XLByteToPrevSeg() Yugo Nagata <nagata@sraoss.co.jp>
Re: [HACKERS] Incorrect comment of XLByteToSeg() andXLByteToPrevSeg() Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [HACKERS] Incorrect comment of XLByteToSeg() andXLByteToPrevSeg() Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [HACKERS] Incorrect comment of XLByteToSeg() andXLByteToPrevSeg() Yugo Nagata <nagata@sraoss.co.jp>
Hi,

I found a type in the comment for XLByteToSeg() and XLByteToPrevSeg().
This says "Compute ID and segment from an XLogRecPtr", but these
macros compute only segment numbers. I think "Compute a segment number
from an XLogRecPtr" is correct.

The definition of these macros were modified by the following commit,
but the comment were not.

commit dfda6ebaec6763090fb78b458a979b558c50b39b
Author: Heikki Linnakangas 
Date:   Sun Jun 24 18:06:38 2012 +0300

Regards,

-- 
Yugo Nagata 

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Yugo Nagata
Дата:
Сообщение: Re: [HACKERS] xlogfilename
От: Thom Brown
Дата:
FAQ