Thread
Commits
-
Fix thinko in comment
- ee69833e6e56 13.2 landed
- ddf0be8ca47c 12.6 landed
- ce501627ceb4 11.11 landed
- a8bb366ad0e5 9.5.25 landed
- a3e51a36b77a 14.0 landed
- 6adec1e0650d 10.16 landed
- 594a7dcd674c 9.6.21 landed
-
Fix a typo in xlogreader.c
Masahiko Sawada <sawada.mshk@gmail.com> — 2021-01-12T10:43:24Z
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/
-
Re: Fix a typo in xlogreader.c
Alvaro Herrera <alvherre@alvh.no-ip.org> — 2021-01-12T15:07:21Z
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 Herrera 39°49'30"S 73°17'W "It takes less than 2 seconds to get to 78% complete; that's a good sign. A few seconds later it's at 90%, but it seems to have stuck there. Did somebody make percentages logarithmic while I wasn't looking?" http://smylers.hates-software.com/2005/09/08/1995c749.html