Re: Corrupted or deleted pg_tables - Mailing list pgsql-admin

From Robert Treat
Subject Re: Corrupted or deleted pg_tables
Date
Msg-id 1086989716.9266.1186.camel@camel
Whole thread Raw
In response to Re: Corrupted or deleted pg_tables  ("Curtis Klumas" <cklumas@mail.randrinc.com>)
List pgsql-admin
On Tue, 2004-06-08 at 21:08, Curtis Klumas wrote:
>
> We have a database that we manage through Webmin and today, the entires for
> the databases dissappeared from webmin. Going in through psql we could see
> our data in tables still intact, and have a copy of the directory structure.
> Is thier anyway to extract data and reconstruct a new database? We tried
> pg_dump but had a host of errors.
>

My guess is that you have hit xid wrap around. Try vacuuming full
template1 and see if your info starts to reappear. Also watch to see if
it tells you some other db's need vacuum.

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_clog after crash
Next
From: Michael Fork
Date:
Subject: FreeBSD & Shared Memory