]> 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:17 +0000 (18:14 -0400)
commit027d29edf454c9f91dc444c87efeeae5d2ce5893
tree1d689e5efcb794ceab939e552657e4fb7d8c97b1
parenta1fb4bd8562e0a7f162ff8a08c3c2ecdeb792f80
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