Moving PostgreSQL data directory on Windows

Поиск
Список
Период
Сортировка
От Ottó Havasvölgyi
Тема Moving PostgreSQL data directory on Windows
Дата
Msg-id 34608c0c0601130724m56e612fdw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Moving PostgreSQL data directory on Windows  (Doug McNaught <doug@mcnaught.org>)
Список pgsql-general
Hello,

I would like to move the data directory to another location. I have done this:
1. Stop PostgreSQL
2. Move data directory
3. Create a PGDATA env. variable to the new location
4. Start PostgreSQL

And it cannot start, because it cannot find postgresql.conf. (in Event log)
What should I do now?

Thanks,
Otto

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Plans for 8.2?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FATAL: terminating connection due to administrator command