summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev2004-06-23 10:03:57 +0000
committerTeodor Sigaev2004-06-23 10:03:57 +0000
commitc9abb201e218a25b4e914779467d5d1e76b7b240 (patch)
tree6c5b344413931ff598bc18d2952602be452f572c
parent9ee6997a41c6e45d8b377b282e3b6ab30d1dbcca (diff)
Fix stupid bug in installcheck
-rw-r--r--contrib/tsearch2/expected/tsearch2.out8
-rw-r--r--contrib/tsearch2/sql/tsearch2.sql8
2 files changed, 8 insertions, 8 deletions
diff --git a/contrib/tsearch2/expected/tsearch2.out b/contrib/tsearch2/expected/tsearch2.out
index 658d51dd3f..fb836c087a 100644
--- a/contrib/tsearch2/expected/tsearch2.out
+++ b/contrib/tsearch2/expected/tsearch2.out
@@ -569,25 +569,25 @@ select to_tsquery('default', '\'the wether\':dc & \' sKies \':BC ');
'wether':CD & 'sky':BC
(1 row)
-select to_tsquery('asd&(and|fghj)');
+select to_tsquery('default', 'asd&(and|fghj)');
to_tsquery
----------------
'asd' & 'fghj'
(1 row)
-select to_tsquery('(asd&and)|fghj');
+select to_tsquery('default', '(asd&and)|fghj');
to_tsquery
----------------
'asd' | 'fghj'
(1 row)
-select to_tsquery('(asd&!and)|fghj');
+select to_tsquery('default', '(asd&!and)|fghj');
to_tsquery
----------------
'asd' | 'fghj'
(1 row)
-select to_tsquery('(the|and&(i&1))&fghj');
+select to_tsquery('default', '(the|and&(i&1))&fghj');
to_tsquery
--------------
'1' & 'fghj'
diff --git a/contrib/tsearch2/sql/tsearch2.sql b/contrib/tsearch2/sql/tsearch2.sql
index 745d35b73e..231ddaebe5 100644
--- a/contrib/tsearch2/sql/tsearch2.sql
+++ b/contrib/tsearch2/sql/tsearch2.sql
@@ -87,10 +87,10 @@ SELECT length(to_tsvector('default', '345 [email protected] \' http://www.com/ http://ae
select to_tsquery('default', 'qwe & sKies ');
select to_tsquery('simple', 'qwe & sKies ');
select to_tsquery('default', '\'the wether\':dc & \' sKies \':BC ');
-select to_tsquery('asd&(and|fghj)');
-select to_tsquery('(asd&and)|fghj');
-select to_tsquery('(asd&!and)|fghj');
-select to_tsquery('(the|and&(i&1))&fghj');
+select to_tsquery('default', 'asd&(and|fghj)');
+select to_tsquery('default', '(asd&and)|fghj');
+select to_tsquery('default', '(asd&!and)|fghj');
+select to_tsquery('default', '(the|and&(i&1))&fghj');
select 'a b:89 ca:23A,64b d:34c'::tsvector @@ 'd:AC & ca';
select 'a b:89 ca:23A,64b d:34c'::tsvector @@ 'd:AC & ca:B';
select 'a b:89 ca:23A,64b d:34c'::tsvector @@ 'd:AC & ca:A';