Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group