1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

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
This commit is contained in:
David Rowley
2024-08-12 23:27:09 +12:00
parent 8de5ca1dc9
commit ffabb56c94
6 changed files with 16 additions and 15 deletions

View File

@ -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
{

View File

@ -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 */