Re: Nasty btree deletion bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Nasty btree deletion bug
Дата
Msg-id 22328.1161883313@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Nasty btree deletion bug  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: Nasty btree deletion bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> But now that I look at the original post by Ed, I don't see how the 
> "failed to re-find parent key" error could result from the issue we've 
> been talking about. The error message is printed when _bt_getstackbuf is 
> unable to re-find an item in the parent of a deleted page, but 
> _bt_getstackbuf doesn't look at or compare the keys at all.

Right, but _bt_getstackbuf is working from a search stack created by
a standard search for the victim page's high key.  If that search
descended through a page to the right of the victim page's actual
parent, _bt_getstackbuf isn't able to recover.
        regards, tom lane


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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: Nasty btree deletion bug
Следующее
От: Richard Troy
Дата:
Сообщение: Re: [DOCS] Replication documentation addition