pgsql: Rework the stats_ext test

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Rework the stats_ext test
Дата
Msg-id E1csWoJ-0007x4-PM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: PL/Python: Add cursor and execute methods to plan object
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Fix a couple of problems inpg_get_statisticsextdef