Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb2af8c

Browse files
committed
Make ruminv test behave according new behavoir of tsquery negation.
1 parent32d2001 commiteb2af8c

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)

[8]ページ先頭

©2009-2025 Movatter.jp