Fix comment for issue_xlog_fsync().

"segno" is the argument for the function, not "log" and "seg".

Author: Antonin Houska
Discussion: https://postgr.es/m/11863.1558361020@spoje.net
This commit is contained in:
Fujii Masao 2019-05-21 00:44:00 +09:00
parent fc7c281f87
commit b8e2170e40
1 changed files with 1 additions and 1 deletions

View File

@ -10065,7 +10065,7 @@ assign_xlog_sync_method(int new_sync_method, void *extra)
* Issue appropriate kind of fsync (if any) for an XLOG output file.
*
* 'fd' is a file descriptor for the XLOG file to be fsync'd.
* 'log' and 'seg' are for error reporting purposes.
* 'segno' is for error reporting purposes.
*/
void
issue_xlog_fsync(int fd, XLogSegNo segno)