Re: how to REINDEX pg_database on - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: how to REINDEX pg_database on
Date
Msg-id 20090720180004.GN4938@alvh.no-ip.org
Whole thread Raw
In response to Re: how to REINDEX pg_database on  (Joshua Daniel Franklin <joshuadfranklin@gmail.com>)
Responses Re: how to REINDEX pg_database on  (Joshua Daniel Franklin <joshuadfranklin@gmail.com>)
List pgsql-admin
Joshua Daniel Franklin escribió:

> xbrain_queries=# \d
> No relations found.
> xbrain_queries=# \l
>    List of databases
>  Name | Owner | Encoding
> ------+-------+----------
> (0 rows)

Hmmm, seems your Xid counter wrapped around.  Have you vacuumed the
system catalogs in that database?  Particularly pg_class, pg_attribute
etc ...

Since you already have a backup, the easiest way out is to forget the
borked installation and restore the backup, then ensure this doesn't
happen to you ever again by switching to a more modern release that has
specific protections against it.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-admin by date:

Previous
From: Joshua Daniel Franklin
Date:
Subject: Re: how to REINDEX pg_database on
Next
From: Tom Lane
Date:
Subject: Re: how to REINDEX pg_database on