Tom Lane writes:
> > /usr/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
> > which offered me:
> > ============================
> > pg_ctl: invalid operation mode: /usr/local/pgsql/data
>
> pg_ctl wants the operation first and any options afterwards. Try
>
> /usr/bin/pg_ctl start -D /usr/local/pgsql/data -l logfile
This does work in 7.2-something. It might be a bug in previous versions,
but it sounds a little suspicious that no one ever would have copied the
line from initdb and tried it.
--
Peter Eisentraut peter_e@gmx.net