Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33b9c8b

Browse files
committed
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.
1 parent 7125687 commit 33b9c8b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/backend/tsearch/thesaurus_sample.ths

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ two : *2
1414
supernovae stars : *sn
1515
supernovae : *sn
1616
booking tickets : order invitation cards
17-
booking the tickets : order invitation Cards
18-
17+
# booking the tickets : order invitation Cards

src/test/regress/expected/tsdicts.out

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus (
216216
DictFile=thesaurus_sample,
217217
Dictionary=english_stem
218218
);
219-
NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
220219
SELECT ts_lexize('thesaurus', 'one');
221-
NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
222220
ts_lexize
223221
-----------
224222
{1}
@@ -313,8 +311,8 @@ SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usuall
313311
(1 row)
314312

315313
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
316-
to_tsvector
317-
-------------------------------------------------------
318-
'card':3,10 'like':6 'look':5 'invit':2,9 'order':1,8
314+
to_tsvector
315+
---------------------------------------------------------------------
316+
'book':8 'card':3 'like':6 'look':5 'invit':2 'order':1 'ticket':10
319317
(1 row)
320318

0 commit comments

Comments
 (0)