diff options
Diffstat (limited to 'src/test/regress/sql/stats.sql')
-rw-r--r-- | src/test/regress/sql/stats.sql | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/regress/sql/stats.sql b/src/test/regress/sql/stats.sql index 901e7bd56e3..11628ebc8a1 100644 --- a/src/test/regress/sql/stats.sql +++ b/src/test/regress/sql/stats.sql @@ -442,20 +442,6 @@ SELECT (current_schemas(true))[1] = ('pg_temp_' || beid::text) AS match FROM pg_stat_get_backend_idset() beid WHERE pg_stat_get_backend_pid(beid) = pg_backend_pid(); --- Test pg_stat_io for WAL in an init context, that should do writes --- and syncs. -SELECT sum(writes) AS writes, sum(fsyncs) AS fsyncs - FROM pg_stat_io - WHERE context = 'init' AND object = 'wal' \gset io_sum_wal_init_ -SELECT :io_sum_wal_init_writes > 0; -SELECT current_setting('fsync') = 'off' - OR :io_sum_wal_init_fsyncs > 0; - --- Test pg_stat_io for WAL in a normal context, that should do reads as well. -SELECT SUM(reads) > 0 - FROM pg_stat_io - WHERE context = 'normal' AND object = 'wal'; - ----- -- Test that resetting stats works for reset timestamp ----- |