diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-02-15 15:08:04 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-02-15 15:23:12 +1300 |
commit | 2c8b42b50df6cc5ba6987c400a857d6bbfdf0300 (patch) | |
tree | 7ed9173787e33192cfdd5b2454d7fcac89ac1f39 /src/backend/utils/misc/postgresql.conf.sample | |
parent | d9b0767becf5f41e4f001d8381e6a89941efa5b2 (diff) | |
download | postgresql-2c8b42b50df6cc5ba6987c400a857d6bbfdf0300.tar.gz postgresql-2c8b42b50df6cc5ba6987c400a857d6bbfdf0300.zip |
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
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
0 files changed, 0 insertions, 0 deletions