Someone probably forgot to update the comment when changing the arguments. -- Antonin Houska Web: https://www.cybertec-postgresql.com
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index c00b63c751..527522f165 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)