pg_ctl restart?
От | Chris Smith |
---|---|
Тема | pg_ctl restart? |
Дата | |
Msg-id | 01040408234900.01008@pc163.cybersydney.com.au обсуждение исходный текст |
Ответ на | Re: En: Error during update from version 6.5.3 to version 7.03 ("ADBAAMD" <adba.amdocs@bell.ca>) |
Список | pgsql-novice |
Hey all, I was playing around with pg_ctl last night, 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$
В списке pgsql-novice по дате отправления: