Hey all, I've been playing around with pg_ctl, and noticed that for pg_ctl restart it doesn't seem to like the -D parameter the way I'm doing it.. What's the correct way? (This is for v7.1B4). pgsql@elrond:~/bin$ ./pg_ctl restart -D /usr/local/pgsql/data -s -m fast pg_ctl: cannot find /usr/local/pgsql/data/postmaster.pid Is postmaster running? starting postmaster anyway pgsql@elrond:~/bin$ /usr/local/pgsql/bin/postmaster: invalid argument -- '-D' Try '/usr/local/pgsql/bin/postmaster --help' for more information. I do it without the -D parameter & a correct error message appears.... pgsql@elrond:~/bin$ ./pg_ctl restart -s -m fast pg_ctl: no database directory or environment variable $PGDATA is specified Try 'pg_ctl --help' for more information. pgsql@elrond:~/bin$ The other switches for pg_ctl work (start & stop), just restart having the problems... -------------- Chris Smith http://www.squiz.net ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl