Re: Crash in gist insertion on pathological box data

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Crash in gist insertion on pathological box data
Дата
Msg-id 49D60A51.1020109@sigaev.ru
обсуждение исходный текст
Ответ на Re: Crash in gist insertion on pathological box data  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Crash in gist insertion on pathological box data  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Here is a test case that crashes even with the patch:
I was too optimistic :(

Attached patch contains:
- changes in R-tree picksplit methods. Now it checks bad ratio and if so then
   use simple split: one half of entries to one page, and another part - to
   another page.
- protection from buggy picksplit method: GiST will emit an error if picksplit
   of first column has that bug. For second and next column it could be a desired
   behaviour, because picksplit may take in attention result of picksplit of
   previous column.

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Вложения

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Abwesend: [GENERAL] string_to_array with empty input
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Documentation Update: Document pg_start_backup checkpoint behavior