Re: pg_ctl emits strange warning message - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pg_ctl emits strange warning message
Date
Msg-id 4C8F2CFF.9080005@enterprisedb.com
Whole thread Raw
In response to Re: pg_ctl emits strange warning message  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_ctl emits strange warning message
List pgsql-hackers
On 14/09/10 03:55, Fujii Masao wrote:
> On Tue, Sep 14, 2010 at 12:10 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>> Yet another idea: Check in pg_ctl if recovery.conf is also present. If it
>> is, assume we're in recovery and don't print that warning. That would be
>> dead simple. I would even consider backpatching it to 9.0, this can be
>> regarded as a bug, albeit a minor one.
>
> Yeah, it's very simple. Attached patch does that.

Committed with some extra comments. I also backpatched this to 9.0.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pg_ctl emits strange warning message
Next
From: Fujii Masao
Date:
Subject: Re: pg_ctl emits strange warning message