Fix some comments in xlogreader.h
authorMichael Paquier
Thu, 28 May 2020 07:40:07 +0000 (16:40 +0900)
committerMichael Paquier
Thu, 28 May 2020 07:40:07 +0000 (16:40 +0900)
segment_open and segment_close were mentioned with incorrect names.

Discussion: https://postgr.es/m/20200525234944[email protected]

src/include/access/xlogreader.h

index c21b0ba97229b42b9b9bcd743edbc2f399203800..d930fe957dfdcf74c617315820d517fba54d3869 100644 (file)
@@ -21,7 +21,7 @@
  *     XLogReadRecord or XLogFindNextRecord; it can be passed in as NULL
  *     otherwise.  The WALRead function can be used as a helper to write
  *     page_read callbacks, but it is not mandatory; callers that use it,
- *     must supply open_segment callbacks.  The close_segment callback
+ *     must supply segment_open callbacks.  The segment_close callback
  *     must always be supplied.
  *
  *     After reading a record with XLogReadRecord(), it's decomposed into