Re: BUG #7793: tsearch_data thesaurus size limit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: davios(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7793: tsearch_data thesaurus size limit
Date: 2013-01-07 00:41:06
Message-ID: 10272.1357519266@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

davios(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

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