Tom Lane writes:

>     eval '$po_path' '$POSTOPTS' $logopt '&'
>
>     if [ -f $PIDFILE ];then
>       if [ "`sed -n 1p $PIDFILE`" = "$pid" ];then
>           echo "$CMDNAME: cannot start postmaster" 1>&2
>           echo "Examine the log output." 1>&2
>           exit 1
>         fi
>     fi
>
> which is clearly not giving the postmaster enough time to remove or
> rewrite the pidfile.  Shouldn't we put a "sleep 1" in there before
> the "if"?

This is probably the best we can do.

-- 
Peter Eisentraut      [EMAIL PROTECTED]       http://yi.org/peter-e/


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to