summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogreader.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2021-01-12 11:48:45 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2021-01-12 11:48:45 -0300
commit6adec1e0650dad253b65e012710dec50ca243556 (patch)
treec5433ac86ce8afe7af14c6603163b4dbc5cd85d9 /src/backend/access/transam/xlogreader.c
parent09777bd7961fcd91109ae23b2b79cceb1db91ddd (diff)
Fix thinko in comment
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
Diffstat (limited to 'src/backend/access/transam/xlogreader.c')
-rw-r--r--src/backend/access/transam/xlogreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c
index a1ad36fbeb8..e370fa984cd 100644
--- a/src/backend/access/transam/xlogreader.c
+++ b/src/backend/access/transam/xlogreader.c
@@ -1397,7 +1397,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)