Bug #690: pg_ctl doesn't act properly for option -w - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #690: pg_ctl doesn't act properly for option -w
Date
Msg-id 20020611203426.D26914765F1@postgresql.org
Whole thread Raw
Responses Re: Bug #690: pg_ctl doesn't act properly for option -w  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
shangwu (swqi@strongholdtech.com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
pg_ctl doesn't  act properly for option -w

Long Description
If you start postmaster at some port number other than 5432 by pg_ctl with option -w, it doesn't block any more.
The problem is that pg_ctl calls "psql -l" to check if the postmaster is started. Running psql without correct port
numbergets immediately failed with error exit code.  

Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Referential integrity problem postgresql 7.2 ?
Next
From: Bruce Momjian
Date:
Subject: Re: Bug #690: pg_ctl doesn't act properly for option -w