In the stats test, delay for the stats collector to catch up using a
Tom Lane <tgl@sss.pgh.pa.us>
In the stats test, delay for the stats collector to catch up using a function that actually sleeps, instead of busy-waiting. Perhaps this will resolve some of the intermittent stats failures we keep seeing.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/stats.out | modified | +4 −17 |
| src/test/regress/input/create_function_1.source | modified | +10 −5 |
| src/test/regress/output/create_function_1.source | modified | +9 −5 |
| src/test/regress/regress.c | modified | +18 −1 |
| src/test/regress/sql/stats.sql | modified | +1 −16 |