diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-05-28 16:40:07 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-05-28 16:40:07 +0900 |
commit | f93bb0ce64005c84e1d1d431eed31e0da4835078 (patch) | |
tree | 813399be3585f90cbb1cc2a75122048400c55f63 /src | |
parent | 55ca50deb8ffaec3b81d83c9f54c94f7e519f3a6 (diff) | |
download | postgresql-f93bb0ce64005c84e1d1d431eed31e0da4835078.tar.gz postgresql-f93bb0ce64005c84e1d1d431eed31e0da4835078.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/xlogreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h index c21b0ba9722..d930fe957df 100644 --- a/src/include/access/xlogreader.h +++ b/src/include/access/xlogreader.h @@ -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 |