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: (view raw, whole thread or download thread mbox)
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,

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-2017 The PostgreSQL Global Development Group