Re: pg_ctl bug

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: oberpwd(at)anubis(dot)network(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_ctl bug
Date: 2001-01-25 11:40:35
Message-ID: 20010125204035C.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • pg_ctl bug at 2001-01-24 19:29:00 from Wade D. Oberpriller

Browse pgsql-general by date

  From Date Subject
Next Message Frank Joerdens 2001-01-25 12:35:05 Re: beta3 Solaris 7 (SPARC) port report [ Was: Looking for . . . ]
Previous Message Istvan Bereti 2001-01-25 11:32:06 Data from Oracle -> Postgre