Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args
От | Magnus Hagander |
---|---|
Тема | Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args |
Дата | |
Msg-id | 9837222c0908121024u218b8eb2n4274e9038b22ce3d@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args (Fujii Masao <masao.fujii@gmail.com>) |
Ответы |
Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args
|
Список | pgsql-hackers |
On Wed, Aug 12, 2009 at 19:08, Fujii Masao<masao.fujii@gmail.com> wrote: > Hi, > > On Tue, Aug 11, 2009 at 3:10 AM, Magnus Hagander<magnus@hagander.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. Not sure. Potentially pure luck. SIGINT has never *worked*, though, it just hasn't crashed. -- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/
В списке pgsql-hackers по дате отправления: