>>> Carol Walter <walterc@xxxxxxxxxxx> wrote: > On May 23, 2008, at 2:39 PM, Joshua D. Drake wrote: >> >> pg_ctl -D /path/to/data/dir -m fast stop >> > Does this do an orderly, safe stop? Also do I then bring it back up > with the usual command? "Three different shutdown methods can be selected with the -m option: "Smart" mode waits for all the clients to disconnect. This is the default. "Fast" mode does not wait for clients to disconnect. All active transactions are rolled back and clients are forcibly disconnected, then the server is shut down. "Immediate" mode will abort all server processes without a clean shutdown. This will lead to a recovery run on restart."