Re: BUG #7793: tsearch_data thesaurus size limit - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7793: tsearch_data thesaurus size limit
Date
Msg-id 10272.1357519266@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7793: tsearch_data thesaurus size limit  (davios@gmail.com)
Responses Re: BUG #7793: tsearch_data thesaurus size limit
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #7792: pg_dump does not treat -c flag correctly when using tar format
Next
From: Tom Lane
Date:
Subject: Re: BUG #7790: null filters in CTEs don't work