Found another small glitch in tsearch API: the two versions of ts_lexize()
Tom Lane <tgl@sss.pgh.pa.us>
Found another small glitch in tsearch API: the two versions of ts_lexize() are really redundant, since we invented a regdictionary alias type. We can have just one function, declared as taking regdictionary, and it will handle both behaviors. Noted while working on documentation.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tsearch/dict.c | modified | +9 −51 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +2 −4 |
| src/include/tsearch/ts_utils.h | modified | +2 −3 |