]> granicus.if.org Git - postgresql/commit
Rework the stats_ext test
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 27 Mar 2017 15:40:42 +0000 (12:40 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 27 Mar 2017 15:43:04 +0000 (12:43 -0300)
commitbed9ef5a16239d91d97a1fa2efd9309c3cbbc4b2
treebf5c953dd757e28d2dfc0a1bfcf0c491efbb8c69
parent70ec3f1f8f0b753c38a1a582280a02930d7cac5f
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
src/test/regress/expected/stats_ext.out
src/test/regress/expected/stats_ext_1.out [deleted file]
src/test/regress/sql/stats_ext.sql