]> 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:12 +0000 (18:14 -0400)
commit16188d88ecc604a2dd68d717811fcfd6a112526f
tree0454b89c571477a1f611f165fb4a72c4685fd134
parentb7d6c51d4693765354a1f60e6eb45010bddf023d
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