From: Wim Kerkhoff <wim@nyetwork.org>
To: pgsql-admin@postgresql.org
Subject: pg_class / missing tables
Date: Mon, 13 Sep 2004 19:30:34 -0700
Message-ID: <414657CA.5040809@nyetwork.org> (raw)
I'm trying to recover a database where some tables 'went missing'...
Short story: server was rebooted without being shut down properly, upon
bootup PostgreSQL (7.4.3) starts fine, but a couple of data tables
(along with their associated indexes and sequences) are gone. Other
tables are still there.
The missing tables aren't listed in \d or in the pg_class table, but
according to the sizes of the numbered files in
/var/lib/postgres/data/base/142772, the raw files must still be there.
What's interested is that if I try:
CREATE TABLE missing_table_name (foo int);
It does complain that the table already exists...
What's happening here?
Many thanks,
Wim
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: wim@nyetwork.org
Subject: Re: pg_class / missing tables
In-Reply-To: <414657CA.5040809@nyetwork.org>
References: <414657CA.5040809@nyetwork.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