Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args
Date
Msg-id 22408.1249929888@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [BUGS] BUG #4961: pg_standby.exe crashes with no args  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for 8.5, transformationHook
Next
From: Alexey Klyukin
Date:
Subject: PL/Perl crash when using threaded perl