From 09bc52fe735b8b871d6c89deedae22a1dd2d20da Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Wed, 23 Jun 2004 09:43:43 +0000 Subject: [PATCH] Fix stupid bug in installcheck --- contrib/tsearch2/expected/tsearch2.out | 8 ++++---- contrib/tsearch2/sql/tsearch2.sql | 8 ++++---- 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 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'; -- 2.11.0