bug in pageinspect's "tuple data" feature

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема bug in pageinspect's "tuple data" feature
Дата
Msg-id 20201121193206.GA32459@alvherre.pgsql
обсуждение исходный текст
Ответы Re: bug in pageinspect's "tuple data" feature
Re: bug in pageinspect's "tuple data" feature
Список pgsql-hackers
If you have a sufficiently broken data page, pageinspect throws an
error when trying to examine the page:

ERROR:  invalid memory alloc request size 18446744073709551451

This is pretty unhelpful; it would be better not to try to print the
data instead of dying.  With that, at least you can know where the
problem is.

This was introduced in d6061f83a166 (2015).  Proposed patch to fix it
(by having the code print a null "data" instead of dying) is attached.

-- 
Álvaro Herrera

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Connection using ODBC and SSL
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Different results between PostgreSQL and Oracle for "for update" statement