Postgres error when adding new page

From: Marco Craveiro <marco(dot)craveiro(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Postgres error when adding new page
Date: 2012-10-01 13:47:17
Message-ID: CAKRNd4yN+-yYKgYcTovc8aKO1ZLFZpYSjzMHX+vxWOit2zTTAQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carrington, Matthew (Produban) 2012-10-01 13:53:20 Re: pg_upgrade: out of memory
Previous Message Tom Lane 2012-10-01 13:39:21 Re: pg_upgrade: out of memory