Skip to content

Commit f168633

Browse files
vbwagnerArtur Zakirov
authored and
Artur Zakirov
committed
Make ruminv test behave according new behavoir of tsquery negation.
1 parent 5542479 commit f168633

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: expected/ruminv.out

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ INSERT INTO test_invrum VALUES ('(!(a|b))&c'::tsquery);
1010
INSERT INTO test_invrum VALUES ('(a|b)&(c|d)'::tsquery);
1111
INSERT INTO test_invrum VALUES ('!a'::tsquery);
1212
SELECT * FROM test_invrum WHERE q @@ ''::tsvector;
13-
q
14-
---
15-
(0 rows)
13+
q
14+
----------------
15+
!( 'a' | 'b' )
16+
!( 'a' & 'b' )
17+
!'a' | 'b'
18+
!'a'
19+
(4 rows)
1620

1721
SELECT * FROM test_invrum WHERE q @@ 'a'::tsvector;
1822
q

0 commit comments

Comments
 (0)