diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-06-22 16:42:38 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-06-22 16:42:38 -0400 |
commit | d4702b2049c5f50f6f55d74cc413ff061d8b3894 (patch) | |
tree | 64c1456b50bfb7f46b03f762df60d5dbef31e25d /src/backend/access/transam/xlog.c | |
parent | 7775ebaf016771cc9dc9b07921127ee87d6725f4 (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/33e9617d-27f1-eee8-3311-e27af98eaf2b@lab.ntt.co.jp
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-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 682c541f685..ae9d75b1fff 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -3919,7 +3919,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. |