Fix instability with WAL fsync test in stats.sql
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/stats.out | modified | +1 −0 |
| src/test/regress/sql/stats.sql | modified | +1 −0 |
Discussion
- stats.sql fails during installcheck on mac 9 messages · 2025-04-10 → 2025-04-12