summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorFujii Masao2019-05-20 15:44:00 +0000
committerFujii Masao2019-05-20 15:44:00 +0000
commitb8e2170e40a151eb94079ce9cd791a712ed95342 (patch)
treed239cdf93cf7f38b38b4d2640be1c57012919309 /src/backend/access/transam/xlog.c
parentfc7c281f87467c1ff24fd72e0cc313dd6a71873f (diff)
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/[email protected]
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)