Commit 33b9c8bd authored by Tom Lane's avatar Tom Lane

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.
parent 71256875
...@@ -14,5 +14,4 @@ two : *2 ...@@ -14,5 +14,4 @@ two : *2
supernovae stars : *sn supernovae stars : *sn
supernovae : *sn supernovae : *sn
booking tickets : order invitation cards booking tickets : order invitation cards
booking the tickets : order invitation Cards # booking the tickets : order invitation Cards
...@@ -216,9 +216,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus ( ...@@ -216,9 +216,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus (
DictFile=thesaurus_sample, DictFile=thesaurus_sample,
Dictionary=english_stem Dictionary=english_stem
); );
NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
SELECT ts_lexize('thesaurus', 'one'); SELECT ts_lexize('thesaurus', 'one');
NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
ts_lexize ts_lexize
----------- -----------
{1} {1}
...@@ -313,8 +311,8 @@ SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usuall ...@@ -313,8 +311,8 @@ SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usuall
(1 row) (1 row)
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets'); SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
to_tsvector to_tsvector
------------------------------------------------------- ---------------------------------------------------------------------
'card':3,10 'like':6 'look':5 'invit':2,9 'order':1,8 'book':8 'card':3 'like':6 'look':5 'invit':2 'order':1 'ticket':10
(1 row) (1 row)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment