Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",
Дата
Msg-id 5686.1130535951@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
I wrote:
> I suppose there's a bug in this path, but I'm darned if I can see what
> it is.  There are a number of obvious inefficiencies, but those
> shouldn't be important given that this isn't supposed to happen much.
> But how's it getting to the Assert failure?

While I'm disinclined to change anything until we can explain why it's
crashing, I suspect that the solution may be to avoid the recursive call
of SimpleLruReadPage, as in the attached patch.  Jim, are you interested
in seeing if this patch makes the problem go away for you?

            regards, tom lane


Вложения

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: enums
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",