pgsql: Stabilize just-added regression test cases.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Stabilize just-added regression test cases.
Дата
Msg-id E1pkXsK-001kGF-0l@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Stabilize just-added regression test cases.

The tests added by commits 029dea882 et al turn out to produce
different output under -DRANDOMIZE_ALLOCATED_MEMORY.  This is
not a bug exactly: that flag causes coerce_type() to invoke
the input function twice when coercing an unknown-type literal
to a specific type.  So you get tsqueryin's bleat about an empty
tsquery twice.  Revise the test query to avoid that.

Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5499706bdf60235f787eae9d2b541444ef0b31b3

Modified Files
--------------
src/test/regress/expected/tsearch.out | 8 ++------
src/test/regress/sql/tsearch.sql      | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix ts_headline() edge cases for empty query and empty search te
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Separate vacuum cost variables from GUCs