Aaron Hillegass <[EMAIL PROTECTED]> writes: > I have a script that must start the postmaster before continuing, so I > do this:
> sudo -u postgres /Library/PostgreSQL/bin/pg_ctl -w start This is not going to work very well because sudo doesn't update the environment --- for example if PGUSER is set in your environment then that's the username pg_ctl will try to use to connect with. Perhaps try sudo su -l postgres -c '/Library/PostgreSQL/bin/pg_ctl -w start' regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster