diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-04-12 13:09:48 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-04-12 13:09:48 +0900 |
commit | fdb69dd582427e4976897d544867e65a0e767002 (patch) | |
tree | 2f31095fc939fc05fc343fbadb8bfbff1769067d /contrib/postgres_fdw/postgres_fdw.c | |
parent | 847bbb21f8c4eb0e2b47417684ad2ba9255c9e80 (diff) | |
download | postgresql-fdb69dd582427e4976897d544867e65a0e767002.tar.gz postgresql-fdb69dd582427e4976897d544867e65a0e767002.zip |
Fix instability with WAL fsync test in stats.sql
A backend using wal_sync_method set to "open_sync" or "open_datasync"
would fail the test checking the WAL sync data in pg_stat_io. These
modes guarantee that a sync is done when WAL is written to disk, and the
data checked by the test is not incremented in this case,
issue_xlog_fsync() doing nothing.
Oversight in commit a051e71e28a1.
Author: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0uxwg3xAi4nvdBMJ-zJQEeyg+RotuU+ebM2F6CKmnvaYA@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions