Add regression tests for ispell, synonym and thesaurus dictionaries.
Teodor Sigaev <teodor@sigaev.ru>
Add regression tests for ispell, synonym and thesaurus dictionaries. Rename synonym.syn.sample and thesaurs.ths.sample to synonym_sample.syn and thesaurs_sample.ths accordingly to be able to use they in regression test. Ispell dictionary uses synthetic simple dictionary files.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tsearch/hunspell_sample.affix | added | +24 −0 |
| src/backend/tsearch/ispell_sample.affix | added | +26 −0 |
| src/backend/tsearch/ispell_sample.dict | added | +8 −0 |
| src/backend/tsearch/Makefile | modified | +3 −2 |
| src/backend/tsearch/synonym_sample.syn | added | +4 −0 |
| src/backend/tsearch/synonym.syn.sample | deleted | +0 −3 |
| src/backend/tsearch/thesaurus_sample.ths (from src/backend/tsearch/thesaurus.ths.sample) | renamed | +4 −6 |
| src/test/regress/expected/tsdicts.out | added | +320 −0 |
| src/test/regress/parallel_schedule | modified | +2 −2 |
| src/test/regress/serial_schedule | modified | +2 −1 |
| src/test/regress/sql/tsdicts.sql | added | +121 −0 |