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

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: 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-08-12 17:08:32
Message-ID: 3f0b79eb0908121008i24a49f9cl1fe14c16d0e78c53@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Hi,

On Tue, Aug 11, 2009 at 3:10 AM, Magnus Hagander<magnus(at)hagander(dot)net> wrote:
> I have reproduced this. The problem is:
>        (void) signal(SIGUSR1, sighandler);
>        (void) signal(SIGINT, sighandler);      /* deprecated, use SIGUSR1 */
>
>
> None of these signals exist on WIN32. I think the only reason it
> compiles at all is that we bring in *some* of our signals emulation
> code, but certainly not all of it.

SIGINT has been used in pg_standby for a while (e.g., v8.3.7). I wonder
why this problem arises only in v8.4.0.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2009-08-12 17:24:24 Re: BUG #4961: pg_standby.exe crashes with no args
Previous Message Alvaro Herrera 2009-08-12 15:27:48 Re: BUG #4978: "too many private dirs demanded" error during postgres startup

Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2009-08-12 17:13:44 DECLARE doesn't set/reset sqlca after DECLARE cursor
Previous Message Tom Lane 2009-08-12 16:46:57 Re: WIP: getting rid of the pg_database flat file