Re: how to REINDEX pg_database on

From: Joshua Daniel Franklin <joshuadfranklin(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to REINDEX pg_database on
Date: 2009-07-20 18:15:22
Message-ID: cb51e2e0907201115v61e75844kffb8fd2418993aeb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Jul 20, 2009 at 11:00 AM, Alvaro Herrera wrote:
> Joshua Daniel Franklin escribió:
>
>> xbrain_queries=# \d
>> No relations found.
>
> 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.

That worked! Thanks Alvaro (and Tom). I will definitely take a look at migrating
this machine to a newer release. The problem is probably my VACUUM
procedure failing somewhere, but I would never have guessed that one my own.

You probably already know this, but this mailing list is such a huge community
asset due to the excellent answers you all provide.

Thanks again,
Joshua

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Anj Adu 2009-07-20 18:33:05 migrating from 8.1.x to 8.2
Previous Message Tom Lane 2009-07-20 18:01:20 Re: how to REINDEX pg_database on