Re: BUG #4208: Server crashes on insert into gist index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4208: Server crashes on insert into gist index
Дата
Msg-id 467.1212078831@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4208: Server crashes on insert into gist index  (Ron Mackley <ronm@signalpatterns.com>)
Список pgsql-bugs
Ron Mackley <ronm@signalpatterns.com> writes:
> Thanks for the quick response. No:

> sp_hub_production=# select distinct cube_dim(attribute_vector) from
> user_attribute_vectors;
>   cube_dim
> ----------
>          5
> (1 row)

> In the past we had a problem where runt vectors found their way into
> the table, but we deleted them and try to detect them on their way in.

Well, if there were such entries in the past then they could still exist
in the index, I believe.  One or two such keys lurking in dusty corners
of the index would fit with the observed fact that you don't see the
crash often.  As a workaround, it'd probably be worth your trouble to
REINDEX that index to get rid of any such entries.

In any case, the swap bug is definitely real; for instance in cube's
regression database try this:

contrib_regression=# select cube_inter(c,'(1,2,3,4,5,6)') from test_cube;
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

I will go fix that ...

            regards, tom lane

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

Предыдущее
От: Ron Mackley
Дата:
Сообщение: Re: BUG #4208: Server crashes on insert into gist index
Следующее
От: "Andrew SG Rojek"
Дата:
Сообщение: BUG #4209: openSSL undefined symbols.