]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix thinko in comment
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 12 Jan 2021 14:48:45 +0000 (11:48 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 12 Jan 2021 14:48:45 +0000 (11:48 -0300)
This comment has been wrong since its introduction in commit
2c03216d8311.

Author: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/CAD21AoAzz6qipFJBbGEaHmyWxvvNDp8httbwLR9tUQWaTjUs2Q@mail.gmail.com

src/backend/access/transam/xlogreader.c

index 48a58ba9d5094065e0ed31a2995c545bccae83bd..1d95ee29acc28df03f2fa2ad9ba1f54bd66e953f 100644 (file)
@@ -1388,7 +1388,7 @@ XLogRecGetBlockData(XLogReaderState *record, uint8 block_id, Size *len)
 /*
  * Restore a full-page image from a backup block attached to an XLOG record.
  *
- * Returns the buffer number containing the page.
+ * Returns true if a full-page image is restored.
  */
 bool
 RestoreBlockImage(XLogReaderState *record, uint8 block_id, char *page)