| 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-001kGK-2X@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | 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_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/16188d88ecc604a2dd68d717811fcfd6a112526f
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: Separate vacuum cost variables from GUCs |
| Previous Message | Tom Lane | 2023-04-06 22:04:01 | Re: pgsql: Fix ts_headline() edge cases for empty query and empty search te |