Re: pg_ctl bug - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: pg_ctl bug
Date
Msg-id 20010125204035C.t-ishii@sra.co.jp
Whole thread Raw
In response to pg_ctl bug  (oberpwd@anubis.network.com (Wade D. Oberpriller))
List pgsql-general
> Hello,
>
> I've noticed a bug if pg_ctl. If you do the following:
>
> pg_ctl -w -D $PGSQL/data -o '-p 10000' start;
>
> The pg_ctl script will loop doing a 'psql -l' to connect to the postmaster
> process on port 5432 (but postmaster is using 10000 in this case). The
> pg_ctl script should take the port number as its own option (-p port) and then
> pass it to the postmaster (or it should parse the options sent to postmaster).
> In any case it, the -w option should work whether or not postmaster is
> running on 5432 or 10000.

Moreover, using 7.1's postgresql.conf, we could start postmaster on an
unusual port number without an explicit option to pg_ctl. Maybe we
should throw away 'pg_ctl start' and add the same functionarity to
postmaster itself?
--
Tatsuo Ishii

pgsql-general by date:

Previous
From: "Istvan Bereti"
Date:
Subject: Data from Oracle -> Postgre
Next
From: "Martin A. Marques"
Date:
Subject: Re: 7.1 expected features list?