Fix a typo in xlogreader.c

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Fix a typo in xlogreader.c
Дата
Msg-id CAD21AoAzz6qipFJBbGEaHmyWxvvNDp8httbwLR9tUQWaTjUs2Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fix a typo in xlogreader.c  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Hi,

The function comment of RestoreBlockImage() seems not correct since it
returns a boolean, not the buffer number.

 /*
  * Restore a full-page image from a backup block attached to an XLOG record.
  *
  * Returns the buffer number containing the page.
  */
 bool
 RestoreBlockImage(XLogReaderState *record, uint8 block_id, char *page)

Attached the patch that fixes it.

Regards,

-- 
Masahiko Sawada
EnterpriseDB:  https://www.enterprisedb.com/

Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: O(n^2) system calls in RemoveOldXlogFiles()
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: list of extended statistics on psql