aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-01-15 15:00:20 -0500
committerBruce Momjian <bruce@momjian.us>2011-01-15 15:00:20 -0500
commit001d3664e32c0d156215bbfeccea3272aaf17722 (patch)
treef4f34e77aea8d1243e5b635476dab3bb1baaa1ec
parent169516ad9395e91d206cbf5bf32c5d2fa34d4111 (diff)
downloadpostgresql-001d3664e32c0d156215bbfeccea3272aaf17722.tar.gz
postgresql-001d3664e32c0d156215bbfeccea3272aaf17722.zip
Have test_fsync output details that fdatasync is the default
wal_sync_method on Linux.
-rw-r--r--src/tools/fsync/test_fsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/fsync/test_fsync.c b/src/tools/fsync/test_fsync.c
index ce59afa9c14..cd2b1f2e39e 100644
--- a/src/tools/fsync/test_fsync.c
+++ b/src/tools/fsync/test_fsync.c
@@ -168,7 +168,8 @@ test_sync(int writes_per_op)
printf("\nCompare file sync methods using one write:\n");
else
printf("\nCompare file sync methods using two writes:\n");
- printf("(in wal_sync_method preference order)\n");
+ printf("(in wal_sync_method preference order, except fdatasync\n");
+ printf("is Linux's default)\n");
/*
* Test open_datasync if available