new AM, best way to obtain new block at end of index?

From: Yves Weißig <weissig(at)rbg(dot)informatik(dot)tu-darmstadt(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: new AM, best way to obtain new block at end of index?
Date: 2011-04-28 12:03:45
Message-ID: 4DB957A1.4030807@rbg.informatik.tu-darmstadt.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yves Weißig 2011-04-28 12:07:06 Re: Best way to construct Datum out of a string?
Previous Message Vaibhav Kaushal 2011-04-28 10:51:52 Re: What would AggrefExprState nodes' args contain?