Trond Eivind Glomsrød writes:
> "pg_ctl restart" seems to not work as documented in postgresql 7.1.2.
>
> bash-2.04$ /usr/bin/pg_ctl restart -w -D /var/lib/pgsql/data -m fast
> waiting for postmaster to shut down......done
> postmaster successfully shut down
> /usr/bin/postmaster: invalid argument -- '-D'
> Try '/usr/bin/postmaster --help' for more information.
> waiting for postmaster to
> start................................................................failed
> pg_ctl: postmaster does not start
> bash-2.04$
There was a bug related to this fixed in 7.1.2. I think you are trying to
restart with 7.1.2 pg_ctl an installation that was initially started with
7.1.1 or earlier, or vice versa. I guess that doesn't work. :-(
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter