Sv: Re: ERROR: failed to add item to the index page

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема Sv: Re: ERROR: failed to add item to the index page
Дата
Msg-id VisenaEmail.41.51d7719d814a1f54.16a6f98a5e9@tc7-visena
обсуждение исходный текст
Ответ на Re: ERROR: failed to add item to the index page  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: Re: ERROR: failed to add item to the index page  (Peter Geoghegan <pg@bowt.ie>)
Re: ERROR: failed to add item to the index page  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
På tirsdag 30. april 2019 kl. 19:58:31, skrev Peter Geoghegan <pg@bowt.ie>:
On Tue, Apr 30, 2019 at 9:59 AM Peter Geoghegan <pg@bowt.ie> wrote:
> I'll start investigating the problem right away.

I have found what the problem is. I simply neglected to make a
conservative assumption about suffix truncation needing to add a heap
TID to a leaf page's new high key in nbtsort.c (following commit
dd299df8189), even though I didn't make the same mistake in
nbtsplitloc.c. Not sure how I managed to make such a basic error.

Andreas' test case works fine with the attached patch. I won't push a
fix for this today.

--
Peter Geoghegan
 
 
Nice, thanks!
 
--
Andreas Joseph Krogh
 

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

Предыдущее
От: Ashwin Agrawal
Дата:
Сообщение: Match table_complete_speculative() code to comment
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Re: ERROR: failed to add item to the index page