Andrey Mosienko writes:
> > > su pgsql -c "/usr/local/pgsql/bin/pg_ctl
> > > -D /usr/local/pgsql/data -l /usr/local/pgsql/log/pgsql.log start"
> >
> > That should do it. What version are you using?
>
> PostgreSQL: 7.0.1 - 7.3.4
I'm sure somewhere in between there it didn't work and then it was fixed.
If in doubt, redirect all three file descriptors stdin, stdout, stderr
somewhere (possibly /dev/null), so they're not attached to the terminal.
--
Peter Eisentraut peter_e(at)gmx(dot)net