Rework the stats_ext test
Alvaro Herrera <alvherre@alvh.no-ip.org>
Rework the stats_ext test As suggested by Tom Lane, avoid printing specific estimated cost values, because they vary across architectures; instead, verify plan shapes (in this case, HashAggregate vs. GroupAggregate), as we do in other planner tests. We can now remove expected/stats_ext_1.out. Author: Tomas Vondra
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/stats_ext_1.out | deleted | +0 −155 |
| src/test/regress/expected/stats_ext.out | modified | +191 −40 |
| src/test/regress/sql/stats_ext.sql | modified | +71 −12 |