On Thu, 3 May 2001, Rachit Siamwalla wrote:
> 1. `pidof` should be `pidof -s` (2 instances)
> 2. restart) should be stop; sleep x; start
> ideally, stop should actually wait till postgres fully stops. The sleep is
> just a temporary fix.
>
Perhaps a naive question, but why not use the pg_ctl for starting and
stopping?
It has a -w option to have it wait for the stop/start/restart to complete.
-rocco