Re: [GENERAL] Custom C function shutdown-signaling

2005-07-06 Thread Otto Blomqvist
Once again Tom comes threw and saves the day...! Thanks Tom ! /Otto Blomqvist "Tom Lane" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Otto Blomqvist" <[EMAIL PROTECTED]> writes: > > How do I signal a custom C function that the Postmaster wants to shut down ? > > Do "CHECK_FOR

Re: [GENERAL] Custom C function shutdown-signaling

2005-07-05 Thread Tom Lane
"Otto Blomqvist" <[EMAIL PROTECTED]> writes: > How do I signal a custom C function that the Postmaster wants to shut down ? Do "CHECK_FOR_INTERRUPTS();" at a suitable spot in the C function's main loop. regards, tom lane ---(end of broadcast)--

[GENERAL] Custom C function shutdown-signaling

2005-07-05 Thread Otto Blomqvist
How do I signal a custom C function that the Postmaster wants to shut down ? I want to use "pg_ctl restart -mf" and not "pg_ctl restart -mi" because of data integrity concerns... Any ideas ? Thanks /Otto Blomqvist ---(end of broadcast)--- T