From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Stabilize just-added regression test cases. |
Date: | 2023-04-06 22:14:37 |
Message-ID: | E1pkXsK-001kGJ-1s@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/1bee3ca2384fc635029390cf37159cb04250c67e
Modified Files
--------------
src/test/regress/expected/tsearch.out | 8 ++------
src/test/regress/sql/tsearch.sql | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2023-04-06 23:03:23 | pgsql: Make vacuum failsafe_active globally visible |
Previous Message | Tom Lane | 2023-04-06 22:04:01 | Re: pgsql: Fix ts_headline() edge cases for empty query and empty search te |