From: Bruno Wolff III <bruno@wolff.to>
To: FBaron@co.belcorp.biz
Cc: pgsql-admin@postgresql.org
Subject: Re: Reindex from command line linux
Date: Fri, 22 Apr 2005 12:23:07 -0500
Message-ID: <20050422172307.GA11267@wolff.to> (raw)
In-Reply-To: <OFFEA9DF74.DD39A9C3-ON05256FEB.005A920C-05256FEB.005B41D2@belcorp.biz>
References: <20050422163956.GC4347@wolff.to>
<OFFEA9DF74.DD39A9C3-ON05256FEB.005A920C-05256FEB.005B41D2@belcorp.biz>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, FBaron@co.belcorp.biz
Subject: Re: Reindex from command line linux
In-Reply-To: <20050422172307.GA11267@wolff.to>
References: <20050422163956.GC4347@wolff.to> <OFFEA9DF74.DD39A9C3-ON05256FEB.005A920C-05256FEB.005B41D2@belcorp.biz> <20050422172307.GA11267@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox