Received: from ncc1701.cistron.net (ncc1701.cistron.net [195.64.68.38]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2KHHnN54642 for ; Tue, 20 Mar 2001 12:17:49 -0500 (EST) (envelope-from news@uucp.cistron.nl) Received: from news by ncc1701.cistron.net with local (Exim 3.20 #1 (Debian)) id 14fPnA-0006wf-00 for ; Tue, 20 Mar 2001 18:19:32 +0100 From: jdassen@cistron.nl (J.H.M. Dassen (Ray)) Subject: Re: PostgreSQL; Strange error Date: Tue, 20 Mar 2001 17:19:32 +0000 (UTC) Organization: Cistron Internet Services B.V. Lines: 38 Message-ID: References: <3AB73889.D2C565A8@some.site> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ncc1701.cistron.net 985108772 26692 195.64.65.236 (20 Mar 2001 17:19:32 GMT) X-Complaints-To: abuse@cistron.nl To: pgsql-admin@postgresql.org Errors-To: news@news.cistron.nl X-Archive-Number: 200103/153 X-Sequence-Number: 1000 Bengt Månsson 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