Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit eb2af8c

Browse files
committed
Make ruminv test behave according new behavoir of tsquery negation.
1 parent 32d2001 commit eb2af8c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

contrib/rum/expected/ruminv.out

Lines changed: 7 additions & 3 deletions
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)