From b8e2170e40a151eb94079ce9cd791a712ed95342 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 21 May 2019 00:44:00 +0900 Subject: [PATCH] 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 --- src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index c00b63c751c..527522f1655 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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)