activity quiesce. Possibly this will fix the large increase in
non-reproducible stats test failures we've noted since turning on
stats_row_level by default.
on
(1 row)
+-- wait to let any prior tests finish dumping out stats;
+-- else our messages might get lost due to contention
+SELECT pg_sleep(2.0);
+ pg_sleep
+----------
+
+(1 row)
+
-- save counters
CREATE TEMP TABLE prevstats AS
SELECT t.seq_scan, t.seq_tup_read, t.idx_scan, t.idx_tup_fetch,
-- conditio sine qua non
SHOW stats_start_collector; -- must be on
+-- wait to let any prior tests finish dumping out stats;
+-- else our messages might get lost due to contention
+SELECT pg_sleep(2.0);
+
-- save counters
CREATE TEMP TABLE prevstats AS
SELECT t.seq_scan, t.seq_tup_read, t.idx_scan, t.idx_tup_fetch,