-> pg_ctl start
+$ pg_ctl start
postmaster, blocking until
postmaster comes up is:
-> pg_ctl -w start
+$ pg_ctl -w start
try:
-> pg_ctl -p /usr/local/pgsq/bin/postmaster start
+$ pg_ctl -p /usr/local/pgsq/bin/postmaster start
running without fsync, use:
-> pg_ctl -o "-o -F -p 5433" start
+$ pg_ctl -o "-o -F -p 5433" start
-> pg_ctl stop
+$ pg_ctl stop
stops postmaster. Using the switch allows one
form:
-> pg_ctl restart
+$ pg_ctl restart
waiting for it to shut down and to come up:
-> pg_ctl -w restart
+$ pg_ctl -w restart
To restart using port 5433 and disabling fsync after restarting:
-> pg_ctl -o "-o -F -p 5433" restart
+$ pg_ctl -o "-o -F -p 5433" restart
To get status information from postmaster:
-> pg_ctl status
+$ pg_ctl status