new AM, best way to obtain new block at end of index? - Mailing list pgsql-hackers

From Yves Weißig
Subject new AM, best way to obtain new block at end of index?
Date
Msg-id 4DB957A1.4030807@rbg.informatik.tu-darmstadt.de
Whole thread Raw
Responses Re: new AM, best way to obtain new block at end of index?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hi list,

currently I am obtaining a new block at the end of an index with:

buf = ReadBuffer(rel, P_NEW);

but it throws:

ERROR:  unexpected data beyond EOF in block 0 of relation base/11874/156053
HINT:  This has been seen to occur with buggy kernels; consider updating
your system.

system is up to date:
$ uname -r
2.6.35-28-generic

Is there another way to do it? What could be the source of the problem?

Yves


pgsql-hackers by date:

Previous
From: Vaibhav Kaushal
Date:
Subject: Re: What would AggrefExprState nodes' args contain?
Next
From: Yves Weißig
Date:
Subject: Re: Best way to construct Datum out of a string?