From: Ligia Pimentel <pimentel_ligia@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Problem with database I need to repair...
Date: Fri, 19 Jul 2002 13:21:15 -0500
Message-ID: <ah9p3j$ekf$1@news.hub.org> (raw)
This morning I had a problem with a linux server that was reseted
accidentally (someone pushed the wrong button). Anyway, we couldn't recover
the database because the log file was corrupted and we had to
pg_resetxlog...
We restored yesterday's backup and are now working again on one database,
but we have a problem with the second database...
The database General is obviously corrupted, and we found this out when we
where trying to access one of the tables. when we are connected to the
General database and try to access any table, we get
No relations found.
but when we try to create the tables again, we can't because we get
relation 'x' already exists.
The worst part is I can connect to the database, but the general catalog
obviously is not recognizing it.
chequesdegerencia=# \c General
You are now connected to database General
General=# ls
General-# \l
List of databases
Database | Owner | Encoding
-------------------+----------+-----------
chequesdegerencia | postgres | SQL_ASCII
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
(3 rows)
Does anyone have any ideas on this?
Thank you.
PS. I'm already installing a new computer and moving all to the fresh
computer, but I wonder..
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: pimentel_ligia@hotmail.com
Subject: Re: Problem with database I need to repair...
In-Reply-To: <ah9p3j$ekf$1@news.hub.org>
References: <ah9p3j$ekf$1@news.hub.org>
* 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