From: Guru Prasad <pnguruji@yahoo.com>
To: pgsql-hackers@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Postgres
Date: Sat, 16 Jun 2001 11:10:54 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0106161049490.21517-100000@Larry.bks> (raw)
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
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-sql@postgresql.org
Cc: pnguruji@yahoo.com, pgsql-hackers@postgresql.org
Subject: Re: Postgres
In-Reply-To: <Pine.LNX.4.20.0106161049490.21517-100000@Larry.bks>
References: <Pine.LNX.4.20.0106161049490.21517-100000@Larry.bks>
* 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