1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

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

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. * 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. * '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 void
issue_xlog_fsync(int fd, XLogSegNo segno) issue_xlog_fsync(int fd, XLogSegNo segno)