Commit f93bb0ce authored by Michael Paquier's avatar Michael Paquier

Fix some comments in xlogreader.h

segment_open and segment_close were mentioned with incorrect names.

Discussion: https://postgr.es/m/20200525234944.GA1573@paquier.xyz
parent 55ca50de
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* XLogReadRecord or XLogFindNextRecord; it can be passed in as NULL * XLogReadRecord or XLogFindNextRecord; it can be passed in as NULL
* otherwise. The WALRead function can be used as a helper to write * otherwise. The WALRead function can be used as a helper to write
* page_read callbacks, but it is not mandatory; callers that use it, * 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. * must always be supplied.
* *
* After reading a record with XLogReadRecord(), it's decomposed into * After reading a record with XLogReadRecord(), it's decomposed into
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment