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: (view raw, whole thread or download thread mbox)
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

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



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-2017 The PostgreSQL Global Development Group