Re: Fix a typo in xlogreader.c

2021-01-12 Thread Alvaro Herrera
On 2021-Jan-12, Masahiko Sawada wrote: > Hi, > > The function comment of RestoreBlockImage() seems not correct since it > returns a boolean, not the buffer number. You're right -- this has always been wrong. Pushed your patch. Thank you! -- Álvaro Herrera39°49'3

Fix a typo in xlogreader.c

2021-01-12 Thread Masahiko Sawada
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(XLogReaderSta