Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f2UEheK54520 for ; Fri, 30 Mar 2001 09:43:40 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2UBfRK18764 for ; Fri, 30 Mar 2001 06:41:34 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f2UBXG834387 for pgsql-admin@postgresql.org; Fri, 30 Mar 2001 06:33:16 -0500 (EST) (envelope-from news) From: Marcin Kowalski X-Newsgroups: comp.databases.postgresql.admin Subject: Help - Index on pg_shadow corruption!! Database down!! Date: Fri, 30 Mar 2001 13:33:39 +0200 Organization: Datrix Solutions Lines: 50 Message-ID: <9a1qtp$11ig$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: scrappy@hub.org User-Agent: KNode/0.4 To: pgsql-admin@postgresql.org X-Archive-Number: 200103/262 X-Sequence-Number: 1123 Hi Concerned CItizens I have a slight (BIG) problem, I can no longer connect to my a certain database after erroneously creating a unique index on it pg_shadow file. Below is the exerpt from a previous post that I did but on another unrelated (semi) thread. I did this in order to prevent duplicate entries occuring in pg_shadow DON'T DO THIS!!! ------- CREATE UNIQUE INDEX shadow_index ON pg_shadow (usename) ------- I couldn't create at pg_shadow_index as the pg prefix is reserved for system tables. This BROKE the database. At least I can't connect anymore with a: ------- template1=# \c statements FATAL 1: Index 'pg_shadow_name_index' does not exist Previous connection kept template1=# ------- If I look at the error log I get : ------- ERROR: Illegal class name 'pg_shadow_index' The 'pg_' name prefix is reserved for system catalogs ERROR: Index 'pg_shadow_name_index' does not exist ERROR: SearchSysCache: recursive use of cache 23 ERROR: SearchSysCache: recursive use of cache 23 ERROR: SearchSysCache: recursive use of cache 23 ERROR: SearchSysCache: recursive use of cache 23 <-- quite psql here FATAL 1: Index 'pg_shadow_name_index' does not exist <-- restarted again FATAL 1: Index 'pg_shadow_name_index' does not exist FATAL 1: Index 'pg_shadow_name_index' does not exist ------- What can I do??? I've got a non-trivial amount of data that I cannot afford to lose!! HELP!.. Regards MArCin - Thanks Aside: I am running PG7.1RC1 on another machine, so far It is averaginh 1360 selects per second over 6 tables (not always returning data though). This is pretty damn fast, (13 Million of them till now about 37 million to go :-) )