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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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: [HACKERS] BUG #4961: pg_standby.exe crashes with no args
Date: 2009-08-10 18:44:48
Message-ID: 22408.1249929888@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> If I just move those two lines into the #ifndef WIN32 block just
> around it, it compiles and doesn't crash on running-with-no-arguments.
> I haven't tried to actually use it though - can someone confirm if
> this will actually make pg_standby not work properly?

It would mean there's no way to trigger failover via signal.

I think what we need is for pg_ctl to be able to send these signals...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2009-08-10 20:48:43 Re: [HACKERS] BUG #4961: pg_standby.exe crashes with no args
Previous Message Bruce Momjian 2009-08-10 18:21:07 Re: BUG #4965: missing tests in tools/fsync/test_fsync.c

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexey Klyukin 2009-08-10 18:47:14 PL/Perl crash when using threaded perl
Previous Message Tom Lane 2009-08-10 18:40:47 Re: Patch for 8.5, transformationHook