Re: PANIC: heap_update_redo: no block

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PANIC: heap_update_redo: no block
Дата
Msg-id 17851.1142960868@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PANIC: heap_update_redo: no block  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Список pgsql-general
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> Can you patch the heap/heapam.c/heap_xlog_update() like this:

> - elog(PANIC, "heap_update_redo: no block");
> + elog(PANIC, "heap_update_redo: no block: target block: %u, relation
> length: %u",
> +    ItemPointerGetBlockNumber(&(xlrec->target.tid)),
> +    RelationGetNumberOfBlocks(reln));

> And restart your database to see what's the output?

While at it, you should extend the error message to include the relation
ID, so you have some idea which table is affected ... this is certainly
not a very informative message ...

            regards, tom lane

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

Предыдущее
От: "Thomas F. O'Connell"
Дата:
Сообщение: Troubling On-line Backup LOG messages
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Troubling On-line Backup LOG messages