From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Tommi Maekitalo <t(dot)maekitalo(at)epgmbh(dot)de>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: pg_ctl reports succes when start fails |
Date: | 2003-10-23 16:51:10 |
Message-ID: | 200310231651.h9NGpAR26616@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 |
Tom Lane wrote:
> Tommi Maekitalo <t(dot)maekitalo(at)epgmbh(dot)de> writes:
> > I installed 7.4beta5, created a data-dir and tried to start postgresql with
> > pg_ctl without initdb. As expected, this will fail. But pg_ctl tells me
> > "postmaster successfully started", after a fatal error, which looks very
> > confusing. When I use -l for specifying a logfile, I don't even see the
> > error, but only the success-message.
>
> If you don't use -w, then pg_ctl doesn't wait around to see whether the
> postmaster started or not. It'd probably be a good idea for it to issue
> a less positive message in this case, maybe only "postmaster launched".
>
> I also wonder why -w isn't the default.
The following patch changes the message from "started" to "starting" for
non-"-w" starts. I will keep it for 7.5.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 733 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-10-23 17:58:09 | Re: [HACKERS] pg_ctl reports succes when start fails |
Previous Message | Bruce Momjian | 2003-10-23 16:44:56 | Re: pg_ctl reports succes when start fails |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-10-23 17:58:09 | Re: [HACKERS] pg_ctl reports succes when start fails |
Previous Message | Bruce Momjian | 2003-10-23 16:44:56 | Re: pg_ctl reports succes when start fails |