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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: new AM, best way to obtain new block at end of index?
Дата
Msg-id BANLkTikXyGJ25dHYsVB5q1mP8SL_BZjdSQ@mail.gmail.com
обсуждение исходный текст
Ответ на new AM, best way to obtain new block at end of index?  (Yves Weißig <weissig@rbg.informatik.tu-darmstadt.de>)
Список pgsql-hackers
On Thu, Apr 28, 2011 at 8:03 AM, Yves Weißig
<weissig@rbg.informatik.tu-darmstadt.de> wrote:
> 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?

Sounds like a bug either in your code, or in the kernel.  That's the
right way to do it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: (Better) support for cross compiled external modules
Следующее
От: Robert Haas
Дата:
Сообщение: Re: SSI non-serializable UPDATE performance