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 14:00:37
Message-ID: cb51e2e0907200700v23f17292n777b296705a0299d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jul 16, 2009 at 12:18 PM, Joshua Daniel Franklin wrote:
> I'm having a problem with Postgres 7.4 on RHEL  4 (Nahant Update 8).
> It seems that pg_database disappeared some time ago (I think before
> my oldest backups, unfortunately).
>
> I searched and found some mention of REINDEX but I'm not sure if I am
> using it correctly since this is a system catalog. I tried this:
>
> postgres -P -D /usr/local/databases/pgsql/data pg_database
> FATAL:  database "pg_database" does not exist

So... does that 'FATAL: database "pg_database" does not exist' message
mean it's game over ?

I've got the data so it's not the end of the world, but it would be nice to
recover the user accounts if possible.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2009-07-20 15:39:19 Re: how to REINDEX pg_database on
Previous Message Andreas Wenk 2009-07-20 11:50:30 Re: implement ldap authentication in PostgreSQL