Possibly a comment typo in xlogrecord.h

Поиск
Список
Период
Сортировка
От Rahila Syed
Тема Possibly a comment typo in xlogrecord.h
Дата
Msg-id CAH2L28v34MnU37wQQLkwtZdBdXPaW6sN6kZMJFxRNGJfgwGyZw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Possibly a comment typo in xlogrecord.h  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
Hello,

The comment before declaration of XLogRecordBlockHeader says 

>* 'data_length' is the length of the payload data associated with this,
> * and includes the possible full-page image, and rmgr-specific data. It

IIUC, data_length does not include associated full page image length. Attached patch changes the comment as follows:

- * and includes the possible full-page image, and rmgr-specific data. It
- * does not include the XLogRecordBlockHeader struct itself.
+ * and includes the rmgr-specific data. It does not include the possible
+ * full page image and XLogRecordBlockHeader struct itself.

Thank you,
Rahila Syed
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mark Cave-Ayland
Дата:
Сообщение: Re: Commitfest problems
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Commitfest problems