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

Re: how to REINDEX pg_database on

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Joshua Daniel Franklin <joshuadfranklin(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how to REINDEX pg_database on
Date: 2009-07-20 15:39:19
Message-ID: 20090720153919.GM4938@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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.

In response to

Responses

pgsql-admin by date

Next:From: Joshua Daniel FranklinDate: 2009-07-20 17:50:02
Subject: Re: how to REINDEX pg_database on
Previous:From: Joshua Daniel FranklinDate: 2009-07-20 14:00:37
Subject: Re: how to REINDEX pg_database on

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