Re: pg_ctl emits strange warning message
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-09-14T08:06:23Z
Lists: 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