Bernt Drange escribió: > After a lot of fiddling with being able to enter single user mode on a > windows machine (I had to figure out how to run the command line as > the correct user, then for some reason -D didn't work, but SET > PGDATA=xxx worked), I finally managed to fix my problem. Hmm, the -D thing not working should probably be studied -- perhaps we're missing escaping something somewhere. Does the PGDATA path contain spaces or weird chars? -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support