Re: Reindex from command line linux

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Reindex from command line linux
Дата
Msg-id 20050422172307.GA11267@wolff.to
обсуждение исходный текст
Ответ на Re: Reindex from command line linux  (FBaron@co.belcorp.biz)
Список 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 по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Reindex from command line linux
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Reindex from command line linux