Re: Reindex from command line linux - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Reindex from command line linux
Date
Msg-id 20050422172307.GA11267@wolff.to
Whole thread Raw
In response to Re: Reindex from command line linux  (FBaron@co.belcorp.biz)
List pgsql-admin
On Fri, Apr 22, 2005 at 11:36:46 -0500,
  FBaron@co.belcorp.biz wrote:
>
>
>
>
> thanks Bruno :
> I'm running the command with root
> psql -c   "REINDEX DATABASE Clibelcorpco FORCE"
> psql: FATAL:  La base de datos "root" no existe en el catalogo del
> sistema.(Traslate : The "root" database doesn´t exsists)

You need to run it as the Postgres superuser instead of "root".

> I execute  :
>
> psql -d Clibelcorpco -c "REINDEX DATABASE Clibelcorpco FORCE"
> ERROR:  REINDEX DATABASE: Can be executed only on the currently open
> database.
>
> what do you think?

I am not sure what is happening in this case. It might be a case mismatch
on the database name.

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Reindex from command line linux
Next
From: Michael Fuhr
Date:
Subject: Re: Reindex from command line linux