pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jdassen@cistron.nl
To: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL; Strange error
Date: Tue, 20 Mar 2001 17:19:32 +0000 (UTC)
Message-ID: <slrn9bf45n.6ou.jdassen@odin.cistron-office.nl> (raw)
References: <3AB73889.D2C565A8@some.site>

Bengt MÃ¥nsson <name@some.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




view thread (5+ messages)  latest in thread

Message-ID: <slrn9bf45n.6ou.jdassen@odin.cistron-office.nl>
Permalink:  ../slrn9bf45n.6ou.jdassen@odin.cistron-office.nl/
Also on:    postgresql.org/message-id/slrn9bf45n.6ou.jdassen@odin.cistron-office.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jdassen@cistron.nl
  Subject: Re: PostgreSQL; Strange error
  In-Reply-To: <slrn9bf45n.6ou.jdassen@odin.cistron-office.nl>
  References: <3AB73889.D2C565A8@some.site> <slrn9bf45n.6ou.jdassen@odin.cistron-office.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox