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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy