Re: how to REINDEX pg_database on - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: how to REINDEX pg_database on
Date
Msg-id 20090720153919.GM4938@alvh.no-ip.org
Whole thread Raw
In response to Re: how to REINDEX pg_database on  (Joshua Daniel Franklin <joshuadfranklin@gmail.com>)
Responses Re: how to REINDEX pg_database on
List pgsql-admin
Joshua Daniel Franklin escribió:
> 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 ?

No, it means you didn't pass the correct parameters.  You need to pass
the database name, not "pg_database".

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-admin by date:

Previous
From: Joshua Daniel Franklin
Date:
Subject: Re: how to REINDEX pg_database on
Next
From: Joshua Daniel Franklin
Date:
Subject: Re: how to REINDEX pg_database on