git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d9b0767) | patch
Use pg_pwrite() in pg_test_fsync.
2021年2月15日 02:08:04 +0000 (15:08 +1300)
2021年2月15日 02:23:12 +0000 (15:23 +1300)
commit 2c8b42b50df6cc5ba6987c400a857d6bbfdf0300
Use pg_pwrite() in pg_test_fsync.

For consistency with the PostgreSQL behavior this test program is
intended to simulate, use pwrite() instead of lseek() + write().

Also fix the final "non-sync" test, which was opening and closing the
file for every write.

Discussion: https://postgr.es/m/CA%2BhUKGJjjid2BJsvjMALBTduo1ogdx2SPYaTQL3wAy8y2hc4nw%40mail.gmail.com
src/bin/pg_test_fsync/pg_test_fsync.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /