pgsql: Rework the stats_ext test
pgsql: 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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/bed9ef5a16239d91d97a1fa2efd9309c3cbbc4b2 Modified Files -------------- src/test/regress/expected/stats_ext.out | 231 ++++++++++++++++++++++++------ src/test/regress/expected/stats_ext_1.out | 155 -------------------- src/test/regress/sql/stats_ext.sql | 83 +++++++++-- 3 files changed, 262 insertions(+), 207 deletions(-)