Skip site navigation (1) Skip section navigation (2)

Re: how to REINDEX pg_database on

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Joshua Daniel Franklin <joshuadfranklin(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to REINDEX pg_database on
Date: 2009-07-20 18:00:04
Message-ID: 20090720180004.GN4938@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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.

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2009-07-20 18:01:20
Subject: Re: how to REINDEX pg_database on
Previous:From: Joshua Daniel FranklinDate: 2009-07-20 17:50:02
Subject: Re: how to REINDEX pg_database on

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group