Re: [BUGS] BUG #3975: tsearch2 index should not bomb out of 1Mb limit

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] BUG #3975: tsearch2 index should not bomb out of 1Mb limit
Дата
Msg-id 200803071218.m27CIsx11699@momjian.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #3975: tsearch2 index should not bomb out of 1Mb limit  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] BUG #3975: tsearch2 index should not bomb out of 1Mb limit  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Euler Taveira de Oliveira <euler@timbira.com> writes:
> > Edwin Groothuis wrote:
> >> Is it possible to make it a WARNING instead of an ERROR? Right now I get:
> >>
> > No. All of the other types emit an ERROR if you're trying an out of
> > range value.
>
> I don't think that follows.  A tsearch index is lossy anyway, so there's

Uh, the index is lossy but I thought it was lossy in a way that just
required additional heap accesses, not lossy in that it doesn't index
everything.

I think just indexing what we can and throwing away the rest is a MySQL
approach we don't want to take.  We could throw a warning on truncation
but that seems wrong too.

I am concerned a 1mb limit is too low though.  Exactly why can't we have
a higher limit?  Is positional information that significant?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #3975: tsearch2 index should not bomb out of 1Mb limit
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] BUG #3975: tsearch2 index should not bomb out of 1Mb limit