Re: BUG #4961: pg_standby.exe crashes with no args

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, wader2 <wader2(at)jcom(dot)home(dot)ne(dot)jp>, pgsql-bugs(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BUG #4961: pg_standby.exe crashes with no args
Date: 2009-11-04 12:53:34
Message-ID: 4AF1794E.8030909@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Fujii Masao wrote:
> On Wed, Aug 19, 2009 at 6:45 PM, Heikki Linnakangas
> <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
>> Is pg_standby killed correctly when postmaster dies?
>
> No. In my test (v8.3.7 on Win), an immediate shutdown was able to
> kill postmaster, but not pg_standby and the startup process.

Hmm. We should do something about that.. Magnus?

> Though we should change those to handle the shutdown signals
> correctly, this change is not imperative need. At first, we should
> just get rid of the signal support from pg_standby on Win, in order
> to avoid the pg_standby crash. The attached is the patch to do so.
> If this patch is OK, the backport is required for 8.3.x.

Ok, committed to HEAD, 8.4 and 8.3.

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message assaf 2009-11-04 17:44:05 BUG #5165: Poor performance with Left-join where right side does not exist
Previous Message Heikki Linnakangas 2009-11-04 12:36:15 Re: BUG #5164: COPY command: invalid byte sequence 0x80

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-11-04 13:31:36 Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns
Previous Message Heikki Linnakangas 2009-11-04 12:25:13 Re: Skip WAL in ALTER TABLE