]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Stabilize just-added regression test cases.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Apr 2023 22:13:49 +0000 (18:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Apr 2023 22:14:03 +0000 (18:14 -0400)
commitd6ac2348b8a1f031013066619dfb2ce9872251ff
treeac41fb5c91034a4f0922e1611b160e89d501892b
parentf976a77787ebfd0595a3aa19ac6bb587cc6391e2
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
src/test/regress/expected/tsearch.out
src/test/regress/sql/tsearch.sql