OSDN Git Service

Fix stupid bug in installcheck
authorTeodor Sigaev <teodor@sigaev.ru>
Wed, 23 Jun 2004 09:43:43 +0000 (09:43 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Wed, 23 Jun 2004 09:43:43 +0000 (09:43 +0000)
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/sql/tsearch2.sql

index 658d51d..fb836c0 100644 (file)
@@ -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'
index 745d35b..231ddae 100644 (file)
@@ -87,10 +87,10 @@ SELECT length(to_tsvector('default', '345 qwe@efd.r \' 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';