Skip to content

Commit 82c1507

Browse files
committed
Fix typo in comment
Once upon a time, WAL pointers could be NULL, but no longer. We talk about "valid" now. Reported-by: Amit Langote Discussion: https://postgr.es/m/33e9617d-27f1-eee8-3311-e27af98eaf2b@lab.ntt.co.jp
1 parent 6af9f1b commit 82c1507

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4131,7 +4131,7 @@ CleanupBackupHistory(void)
41314131
/*
41324132
* Attempt to read an XLOG record.
41334133
*
4134-
* If RecPtr is not NULL, try to read a record at that position. Otherwise
4134+
* If RecPtr is valid, try to read a record at that position. Otherwise
41354135
* try to read a record just after the last one previously read.
41364136
*
41374137
* If no valid record is available, returns NULL, or fails if emode is PANIC.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy