Re: PostgreSQL; Strange error

From: jdassen(at)cistron(dot)nl (J(dot)H(dot)M(dot) Dassen (Ray))
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: PostgreSQL; Strange error
Date: 2001-03-20 17:19:32
Message-ID: slrn9bf45n.6ou.jdassen@odin.cistron-office.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bengt Månsson <name(at)some(dot)site> wrote:
>I use RH7, Apache, PHP4 and PostgreSQL

Your problem is a RDBMS problem, not a WWW server one. The PostgreSQL
mailing lists (see http://www.postgresql.org/users-lounge/index.html) are a
better place to ask.

>Warning: PostgreSQL query failed: FATAL 1: my bits moved right off the end
>of the world! Recreate index pg_attribute_relid_attnum_index.

>I don't understand any of this. Never heard of that index.

It starts with "pg_", so it's Postgres' meta-data (internal administration).

>What does it mean?

Apparently one of Postgres' internal indexes got corrupted.

> What can I do?

Follow the suggestion given in the warning: recreate index
pg_attribute_relid_attnum_index, presumably [*] using something like

DROP INDEX pg_attribute_relid_attnum_index;
CREATE UNIQUE INDEX pg_attribute_relid_attnum_index ON
pg_attribute(attrelid,attnum);

(as database user 'postgres').

HTH,
Ray

[*] I'm just guessing from '\d pg_attribute_relid_attnum_index' and '\d
pg_attribute' - back up your database (using "pg_dump") before trying this.
--
Think of computer security like powertools. The day you think you are
totally safe is the day you end up hurt.
Alan Cox

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kelcey Kornegay 2001-03-20 17:34:53 Disk space
Previous Message Rachel Coin 2001-03-20 16:53:38 Categories and subcategories : more details