summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/sdir.h6
-rw-r--r--src/include/access/xlogreader.h6
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 */