davios@gmail.com writes:
> [ thesaurus dictionary fails for more than 64K entries ]
I see a whole bunch of uses of "uint16" in
src/backend/tsearch/dict_thesaurus.c. It's not immediately clear which
of these would need to be widened to support more entries, or what the
storage cost of doing that would be. We probably should at least put in
a range check so that you get a clean failure instead of a crash though.
regards, tom lane