]> 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:08 +0000 (18:14 -0400)
commit1bee3ca2384fc635029390cf37159cb04250c67e
tree4e4bebcf51d3a8374a9d9f4753818744e6bdf151
parent34ad3aedb0ce4f36fd55aa916200a68a185bf1ed
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