mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
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
This commit is contained in:
parent
6af9f1bd4b
commit
82c1507e30
@ -4131,7 +4131,7 @@ CleanupBackupHistory(void)
|
|||||||
/*
|
/*
|
||||||
* Attempt to read an XLOG record.
|
* Attempt to read an XLOG record.
|
||||||
*
|
*
|
||||||
* If RecPtr is not NULL, try to read a record at that position. Otherwise
|
* If RecPtr is valid, try to read a record at that position. Otherwise
|
||||||
* try to read a record just after the last one previously read.
|
* try to read a record just after the last one previously read.
|
||||||
*
|
*
|
||||||
* If no valid record is available, returns NULL, or fails if emode is PANIC.
|
* If no valid record is available, returns NULL, or fails if emode is PANIC.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user