Moving PostgreSQL data directory on Windows - Mailing list pgsql-general

From Ottó Havasvölgyi
Subject Moving PostgreSQL data directory on Windows
Date
Msg-id 34608c0c0601130724m56e612fdw@mail.gmail.com
Whole thread Raw
Responses Re: Moving PostgreSQL data directory on Windows  (Doug McNaught <doug@mcnaught.org>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Plans for 8.2?
Next
From: Tom Lane
Date:
Subject: Re: FATAL: terminating connection due to administrator command