Re: "pg_ctl restart" in 7.1.2 - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: "pg_ctl restart" in 7.1.2
Date
Msg-id Pine.LNX.4.30.0105282120260.757-100000@peter.localdomain
Whole thread Raw
In response to "pg_ctl restart" in 7.1.2  (teg@redhat.com (Trond Eivind Glomsrød))
Responses Re: "pg_ctl restart" in 7.1.2  (teg@redhat.com (Trond Eivind Glomsrød))
List pgsql-general
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


pgsql-general by date:

Previous
From: "Tim Barnard"
Date:
Subject: Re: [SQL] Very big problem
Next
From: Jorge Sarmiento
Date:
Subject: Disk space usage with PostgreSQL