Re: "failed to find parent tuple for heap-only tuple" error as an ERRCODE_DATA_CORRUPTION ereport()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "failed to find parent tuple for heap-only tuple" error as an ERRCODE_DATA_CORRUPTION ereport()
Дата
Msg-id 24145.1519938296@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "failed to find parent tuple for heap-only tuple" error as anERRCODE_DATA_CORRUPTION ereport()  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: "failed to find parent tuple for heap-only tuple" error as anERRCODE_DATA_CORRUPTION ereport()  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
Peter Geoghegan <pg@bowt.ie> writes:
> On Thu, Mar 1, 2018 at 11:23 AM, David Steele <david@pgmasters.net> wrote:
>> Yes, I agree.  My thrust was more to discover if there is any testing
>> for these conditions being done in core.  It sounds like no, but I don't
>> think it's the responsibility of this patch to add them.

> The only tests possible with stock Postgres are performed by CREATE
> INDEX/REINDEX.

Yeah, I see no practical way to test this error case, and little point in
asking this patch to do anything about it.  If we had some test rig for
injecting corrupted data, it might be interesting to look at ...

Patch looks fine to me, will push.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: MCV lists for highly skewed distributions
Следующее
От: Andres Freund
Дата:
Сообщение: Re: WIP Patch: Precalculate stable functions, infrastructure v1