Re: strange pg_ctl's behavior - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: strange pg_ctl's behavior
Date
Msg-id 20080311.192308.25151463.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: strange pg_ctl's behavior  (Richard Huxton <dev@archonet.com>)
List pgsql-hackers
> Tatsuo Ishii wrote:
> > Hi,
> > 
> > I have encountered a strange pg_ctl's behavior in 8.3.
> > 
> > pg_ctl -w -o "-p 5432" start    <-- works
> > pg_ctl -w -o "-i" start    <-- works
> > pg_ctl -w -o "-p 5432 -i" start    <-- doesn't work
> > 
> > In the last case, even postmaster starts successfully, pg_ctl keeps
> > trying to make sure that postmaster actually started and continues to
> > print "...".
> 
> It's not getting confused and thinking the port is "5432 -i" is it? I 
> tried "-i -p 5432" and that seemed to work.

Thanks for the hint. I confirmed that:

pg_ctl -w -o "-p 5432 '-i'"

also worked.

If my memory is correct, pg_ctl -w -o "-p 5432 -i" worked fine on 8.2
or 8.1 or before.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


pgsql-hackers by date:

Previous
From: Richard Huxton
Date:
Subject: Re: strange pg_ctl's behavior
Next
From: Richard Huxton
Date:
Subject: Re: strange pg_ctl's behavior