Re: Moved database question

Поиск
Список
Период
Сортировка
От brian
Тема Re: Moved database question
Дата
Msg-id 4898A2F6.1090608@zijn-digital.com
обсуждение исходный текст
Ответ на Moved database question  ("Bayless Kirtley" <bkirt@cox.net>)
Список pgsql-general
Bayless Kirtley wrote:
> I had to move my database to a new disk. I dropped the original after
> a pg_dump and then removed the old directory. I then ran initdb on
> the new location, created the database and restored from the pg_dump.
>
>
> My problem now is that I have to supply the full pathnames to start
> or stop the server. Otherwise it still wants to access the old
> location which no longer exists. What am I missing to make the new
> (and only existing) location be the Postgres default?
>

You didn't tell us what platform you're using. What does your startup
script have for PGDATA?

В списке pgsql-general по дате отправления:

Предыдущее
От: "Bayless Kirtley"
Дата:
Сообщение: Moved database question
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Moved database question