Content-Length: 257663 | pFad | http://github.com/postgrespro/postgres_cluster/commit/4947fced73c2ba43aaddaaba24320aaf5702307e

90 Fix typo in comment · postgrespro/postgres_cluster@4947fce · GitHub
Skip to content

Commit 4947fce

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 39e30cb commit 4947fce

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
@@ -3972,7 +3972,7 @@ CleanupBackupHistory(void)
39723972
/*
39733973
* Attempt to read an XLOG record.
39743974
*
3975-
* If RecPtr is not NULL, try to read a record at that position. Otherwise
3975+
* If RecPtr is valid, try to read a record at that position. Otherwise
39763976
* try to read a record just after the last one previously read.
39773977
*
39783978
* If no valid record is available, returns NULL, or fails if emode is PANIC.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/4947fced73c2ba43aaddaaba24320aaf5702307e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy