Search Postgresql Archives

Re: PANIC: heap_update_redo: no block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Qingqing Zhou" <zhouqq@xxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux