Fix comment for issue_xlog_fsync().
authorFujii Masao <fujii@postgresql.org>
Mon, 20 May 2019 15:44:00 +0000 (00:44 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 20 May 2019 15:44:00 +0000 (00:44 +0900)
"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

index c00b63c751cea37bc16a7de4ccf17eb9172c7be8..527522f165551a3d7f713516e4c00f7178f22973 100644 (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)