aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2019-05-21 00:44:00 +0900
committerFujii Masao <fujii@postgresql.org>2019-05-21 00:44:00 +0900
commitb8e2170e40a151eb94079ce9cd791a712ed95342 (patch)
treed239cdf93cf7f38b38b4d2640be1c57012919309 /src/backend/access/transam/xlog.c
parentfc7c281f87467c1ff24fd72e0cc313dd6a71873f (diff)
downloadpostgresql-b8e2170e40a151eb94079ce9cd791a712ed95342.tar.gz
postgresql-b8e2170e40a151eb94079ce9cd791a712ed95342.zip
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
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
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)