pg_ctl restart?

Поиск
Список
Период
Сортировка
От Chris Smith
Тема pg_ctl restart?
Дата
Msg-id 01040508432200.01083@pc163.cybersydney.com.au
обсуждение исходный текст
Список pgsql-general
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

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

Предыдущее
От: Phuong Ma
Дата:
Сообщение: performance inconsistency
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgres 7.1RC1 on Solaris 7