[EMAIL PROTECTED] writes:

> 1.  The "su" commands for start/stop/restart/status are in the form of "su
> -".  This picks up the environment of the postgres user, which wipes out
> the environment variables that were set earlier in this script (e.g.,
> PGDATA).  Quick solution is to remove the extra dashes.

I have added -D options to the pg_ctl invocation.  Leaving in the '-' is
probably a good idea.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to