Stabilize just-added regression test cases.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 027d29edf454c9f91dc444c87efeeae5d2ce5893
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2023-04-06T22:14:17Z
Releases: 12.15
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

Files

PathChange+/−
src/test/regress/expected/tsearch.out modified +2 −6
src/test/regress/sql/tsearch.sql modified +2 −2

Discussion

Cited messages not in the archive: 20230406213813.uep7plg6lvcywujo@awork3.anarazel.de