Re: strange pg_ctl's behavior

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: dev(at)archonet(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: strange pg_ctl's behavior
Date: 2008-03-11 10:23:08
Message-ID: 20080311.192308.25151463.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-03-11 10:25:18 Re: CopyReadLineText optimization
Previous Message Richard Huxton 2008-03-11 10:16:16 Re: strange pg_ctl's behavior