summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-09-23 15:58:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-09-23 15:58:58 +0000
commit33b9c8bd680ff0159cd17d50931075a44c89d96a (patch)
treec61e933a2a383cb0ffe6a4be39a60494a83885e6 /src
parent71256875114c8c51ac9f36841943ab654f50b646 (diff)
Temporarily modify tsearch regression tests to suppress notice that comes
out at erratic times, because it is creating a totally unacceptable level of noise in our buildfarm results. This patch can be reverted when and if the code is fixed to not issue notices during cache reload events.
Diffstat (limited to 'src')
-rw-r--r--src/backend/tsearch/thesaurus_sample.ths3
-rw-r--r--src/test/regress/expected/tsdicts.out8
2 files changed, 4 insertions, 7 deletions
diff --git a/src/backend/tsearch/thesaurus_sample.ths b/src/backend/tsearch/thesaurus_sample.ths
index b83d8f1452a..77a32a75d05 100644
--- a/src/backend/tsearch/thesaurus_sample.ths
+++ b/src/backend/tsearch/thesaurus_sample.ths
@@ -14,5 +14,4 @@ two : *2
supernovae stars : *sn
supernovae : *sn
booking tickets : order invitation cards
-booking the tickets : order invitation Cards
-
+# booking the tickets : order invitation Cards
diff --git a/src/test/regress/expected/tsdicts.out b/src/test/regress/expected/tsdicts.out
index 859c7bb5226..a1c13e70870 100644
--- a/src/test/regress/expected/tsdicts.out
+++ b/src/test/regress/expected/tsdicts.out
@@ -216,9 +216,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus (
DictFile=thesaurus_sample,
Dictionary=english_stem
);
-NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
SELECT ts_lexize('thesaurus', 'one');
-NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
ts_lexize
-----------
{1}
@@ -313,8 +311,8 @@ SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usuall
(1 row)
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
- to_tsvector
--------------------------------------------------------
- 'card':3,10 'like':6 'look':5 'invit':2,9 'order':1,8
+ to_tsvector
+---------------------------------------------------------------------
+ 'book':8 'card':3 'like':6 'look':5 'invit':2 'order':1 'ticket':10
(1 row)