Received: from Donald.bks ([202.9.161.100]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5G5eVa11596; Sat, 16 Jun 2001 01:40:34 -0400 (EDT) (envelope-from pnguruji@yahoo.com) Received: from Larry.bks (root@Larry.bks [200.2.1.10]) by Donald.bks (8.8.5/8.8.5) with ESMTP id LAA01069; Sat, 16 Jun 2001 11:11:46 +0530 Received: from Larry.bks (guru@Larry.bks [200.2.1.10]) by Larry.bks (8.9.3/8.8.5) with ESMTP id LAA22144; Sat, 16 Jun 2001 11:10:54 +0530 Date: Sat, 16 Jun 2001 11:10:54 +0530 (IST) From: Guru Prasad To: pgsql-hackers@postgresql.org cc: pgsql-sql@postgresql.org Subject: Postgres Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200106/226 X-Sequence-Number: 3484 Hi to list, I had my database installed in my Slackware 7.0 (kernel 2.2.6). I was using postgres 7.1 version. Now the database got corrupted. I had no clue how it got corrupted. Basically, i did found that the data of various users existing (in /usr/local/pgsql/data directory). But there were no data existing in the following system catalogs. pg_database. (except template0 & template1) pg_shadow. (except postgres user. Previously 15 users were there.) pg_tables. (Not showing any user created tables. Only system tables get displayed). But the data structure of individual tables exist somewhere. Suppose if i do 'select * from tablename' then field names gets displayed but says 'no rows'. At the same time, i am unable to get the structure through \d tablename. Is it possible to recover the data in any way. I am having a old dump of data which i can use to reinstall but i wanted to know how it happened in the first place. Atleast, i can take some steps so that it doesn't happen again. Could some one there help me out to recover the data. Any help would be appreciated. Regards, Guru Prasad