diff options
author | Alvaro Herrera | 2017-06-22 20:42:38 +0000 |
---|---|---|
committer | Alvaro Herrera | 2017-06-22 20:42:38 +0000 |
commit | 82c1507e3067d6d7884e823b09c921f9119dbe6f (patch) | |
tree | 4806a2afc39c149440eeb88572c16076a33d6c5e | |
parent | 6af9f1bd4bcbb0de15e826205b8e60632147dbe2 (diff) |
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/[email protected]
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index e60433ba0b..0a6314a642 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -4131,7 +4131,7 @@ CleanupBackupHistory(void) /* * 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. * * If no valid record is available, returns NULL, or fails if emode is PANIC. |