Postgres error when adding new page

Поиск
Список
Период
Сортировка
От Marco Craveiro
Тема Postgres error when adding new page
Дата
Msg-id CAKRNd4yN+-yYKgYcTovc8aKO1ZLFZpYSjzMHX+vxWOit2zTTAQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Postgres error when adding new page  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: Postgres error when adding new page  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello Postgres general

We're experiencing a lot of errors when using CDash on PostgreSQL 9.1, hosted on Mac OSX 10.6.8. The actual error message is as follows:

SQL error in Cannot insert test: utility/asserter/assert_file_returns_true_for_empty_files into the database():ERROR:  failed to add old item to the right sibling while splitting block 191 of index "crc323"<br>

After some investigation, it appears the error is coming from the guts of Postgres: src/backend/access/nbtree/nbtinsert.c:1077:

if (!_bt_pgaddtup(rightpage, itemsz, item, rightoff))
{
memset(rightpage, 0, BufferGetPageSize(rbuf));
elog(ERROR, "failed to add old item to the right sibling"
" while splitting block %u of index \"%s\"",
origpagenumber, RelationGetRelationName(rel));
}
rightoff = OffsetNumberNext(rightoff);


I'm a bit stuck from here on. Is the likely reason for this problem filesystem corruption or am I barking at the wrong tree?

Many thanks for your time.

Marco
--
So young, and already so unknown -- Pauli

blog: http://mcraveiro.blogspot.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade: out of memory
Следующее
От: "Carrington, Matthew (Produban)"
Дата:
Сообщение: Re: pg_upgrade: out of memory