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

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 (view raw or flat)
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

pgsql-admin by date

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

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