Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
38627f68
Commit
38627f68
authored
Apr 08, 2016
by
Teodor Sigaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix output of regression test of contrib/tsearch2
Just forget to add in
1ec4c7c0
parent
1ec4c7c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/expected/tsearch2.out
+8
-8
No files found.
contrib/tsearch2/expected/tsearch2.out
View file @
38627f68
...
...
@@ -340,7 +340,7 @@ select 'a' > 'b & c'::tsquery;
select 'a | f'
<
'
b
&
c
'
::tsquery
;
?
column
?
----------
f
t
(
1
row
)
select
'
a
|
ff
'
<
'
b
&
c
'
::tsquery
;
...
...
@@ -445,7 +445,7 @@ set enable_seqscan=on;
select rewrite('foo
&
bar
&
qq
&
new
&
york', 'new
&
york'::tsquery, 'big
&
apple | nyc | new
&
york
&
city');
rewrite
------------------------------------------------------------------------------
'foo'
&
'bar'
&
'qq'
&
( '
nyc' | 'big'
&
'apple' | 'city'
&
'new'
&
'york
' )
'foo'
&
'bar'
&
'qq'
&
( '
city'
&
'new'
&
'york' | 'nyc' | 'big'
&
'apple
' )
(1 row)
select rewrite('moscow', 'select keyword, sample from test_tsquery'::text );
...
...
@@ -463,7 +463,7 @@ select rewrite('moscow & hotel', 'select keyword, sample from test_tsquery'::tex
select rewrite('bar
&
new
&
qq
&
foo
&
york', 'select keyword, sample from test_tsquery'::text );
rewrite
---------------------------------------------------------------------------------
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york' )
&
'citi'
&
'foo'
&
( 'bar' | 'qq
' )
'citi'
&
'foo'
&
( 'bar' | 'qq' )
&
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york
' )
(1 row)
select rewrite( ARRAY['moscow', keyword, sample] ) from test_tsquery;
...
...
@@ -481,7 +481,7 @@ select rewrite( ARRAY['moscow & hotel', keyword, sample] ) from test_tsquery;
select rewrite( ARRAY['bar
&
new
&
qq
&
foo
&
york', keyword, sample] ) from test_tsquery;
rewrite
---------------------------------------------------------------------------------
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york' )
&
'citi'
&
'foo'
&
( 'bar' | 'qq
' )
'citi'
&
'foo'
&
( 'bar' | 'qq' )
&
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york
' )
(1 row)
select keyword from test_tsquery where keyword @> 'new';
...
...
@@ -522,7 +522,7 @@ select rewrite( ARRAY[query, keyword, sample] ) from test_tsquery, to_tsquery('e
select
rewrite
(
ARRAY
[
query
,
keyword
,
sample
]
)
from
test_tsquery
,
to_tsquery
('
english
',
'
bar
&
new
&
qq
&
foo
&
york
')
as
query
where
keyword
<@
query
;
rewrite
---------------------------------------------------------------------------------
(
'
nyc
'
|
'
big
'
&
'
appl
'
|
'
new
'
&
'
york
'
)
&
'
citi
'
&
'
foo
'
&
(
'
bar
'
|
'
qq
'
)
'
citi
'
&
'
foo
'
&
(
'
bar
'
|
'
qq
'
)
&
(
'
nyc
'
|
'
big
'
&
'
appl
'
|
'
new
'
&
'
york
'
)
(
1
row
)
select
rewrite
(
ARRAY
[
query
,
keyword
,
sample
]
)
from
test_tsquery
,
to_tsquery
('
english
',
'
moscow
')
as
query
where
query
@
>
keyword;
...
...
@@ -540,7 +540,7 @@ select rewrite( ARRAY[query, keyword, sample] ) from test_tsquery, to_tsquery('e
select rewrite( ARRAY[query, keyword, sample] ) from test_tsquery, to_tsquery('english', 'bar
&
new
&
qq
&
foo
&
york') as query where query @> keyword;
rewrite
---------------------------------------------------------------------------------
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york' )
&
'citi'
&
'foo'
&
( 'bar' | 'qq
' )
'citi'
&
'foo'
&
( 'bar' | 'qq' )
&
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york
' )
(1 row)
create index qq on test_tsquery using gist (keyword gist_tp_tsquery_ops);
...
...
@@ -583,7 +583,7 @@ select rewrite( ARRAY[query, keyword, sample] ) from test_tsquery, to_tsquery('e
select
rewrite
(
ARRAY
[
query
,
keyword
,
sample
]
)
from
test_tsquery
,
to_tsquery
('
english
',
'
bar
&
new
&
qq
&
foo
&
york
')
as
query
where
keyword
<@
query
;
rewrite
---------------------------------------------------------------------------------
(
'
nyc
'
|
'
big
'
&
'
appl
'
|
'
new
'
&
'
york
'
)
&
'
citi
'
&
'
foo
'
&
(
'
bar
'
|
'
qq
'
)
'
citi
'
&
'
foo
'
&
(
'
bar
'
|
'
qq
'
)
&
(
'
nyc
'
|
'
big
'
&
'
appl
'
|
'
new
'
&
'
york
'
)
(
1
row
)
select
rewrite
(
ARRAY
[
query
,
keyword
,
sample
]
)
from
test_tsquery
,
to_tsquery
('
english
',
'
moscow
')
as
query
where
query
@
>
keyword;
...
...
@@ -601,7 +601,7 @@ select rewrite( ARRAY[query, keyword, sample] ) from test_tsquery, to_tsquery('e
select rewrite( ARRAY[query, keyword, sample] ) from test_tsquery, to_tsquery('english', 'bar
&
new
&
qq
&
foo
&
york') as query where query @> keyword;
rewrite
---------------------------------------------------------------------------------
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york' )
&
'citi'
&
'foo'
&
( 'bar' | 'qq
' )
'citi'
&
'foo'
&
( 'bar' | 'qq' )
&
( 'nyc' | 'big'
&
'appl' | 'new'
&
'york
' )
(1 row)
set enable_seqscan='on';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment