diff options
| author | David Rowley | 2024-08-12 11:27:09 +0000 |
|---|---|---|
| committer | David Rowley | 2024-08-12 11:27:09 +0000 |
| commit | ffabb56c9460b8e2a3fffeea6263a61590ba006d (patch) | |
| tree | 085063014540b97d8733aedc2de0df089b21a492 /src/include/access | |
| parent | 8de5ca1dc9fa809102acd1983ee19159d0bc469f (diff) | |
Fix a series of typos and outdated references
Author: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/c1d63754-cb85-2d8a-8409-bde2c4d2d04b@gmail.com
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/sdir.h | 6 | ||||
| -rw-r--r-- | src/include/access/xlogreader.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/include/access/sdir.h b/src/include/access/sdir.h index d40d809bd23..7f86c5015ca 100644 --- a/src/include/access/sdir.h +++ b/src/include/access/sdir.h @@ -17,9 +17,9 @@ /* * Defines the direction for scanning a table or an index. Scans are never - * invoked using NoMovementScanDirectionScans. For convenience, we use the - * values -1 and 1 for backward and forward scans. This allows us to perform - * a few mathematical tricks such as what is done in ScanDirectionCombine. + * invoked using NoMovementScanDirection. For convenience, we use the values + * -1 and 1 for backward and forward scans. This allows us to perform a few + * mathematical tricks such as what is done in ScanDirectionCombine. */ typedef enum ScanDirection { diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h index 2e9e5f43eb2..b4fa1ef7b5a 100644 --- a/src/include/access/xlogreader.h +++ b/src/include/access/xlogreader.h @@ -224,9 +224,9 @@ struct XLogReaderState * should not be accessed directly. * ---------------------------------------- * Start and end point of the last record read and decoded by - * XLogReadRecordInternal(). NextRecPtr is also used as the position to - * decode next. Calling XLogBeginRead() sets NextRecPtr and EndRecPtr to - * the requested starting position. + * XLogReadRecord(). NextRecPtr is also used as the position to decode + * next. Calling XLogBeginRead() sets NextRecPtr and EndRecPtr to the + * requested starting position. */ XLogRecPtr DecodeRecPtr; /* start of last record decoded */ XLogRecPtr NextRecPtr; /* end+1 of last record decoded */ |
