Commit 5499706
committed
Stabilize just-added regression test cases.
The tests added by commits 029dea8 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.de1 parent 31ae2aa commit 5499706
2 files changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2129 | 2129 | | |
2130 | 2130 | | |
2131 | 2131 | | |
2132 | | - | |
| 2132 | + | |
2133 | 2133 | | |
2134 | | - | |
2135 | | - | |
2136 | 2134 | | |
2137 | 2135 | | |
2138 | 2136 | | |
2139 | 2137 | | |
2140 | 2138 | | |
2141 | 2139 | | |
2142 | | - | |
| 2140 | + | |
2143 | 2141 | | |
2144 | | - | |
2145 | | - | |
2146 | 2142 | | |
2147 | 2143 | | |
2148 | 2144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
0 commit comments