Search Postgresql Archives

Re: Custom C function shutdown-signaling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once again Tom comes threw and saves the day...!

Thanks Tom !

/Otto Blomqvist



"Tom Lane" <tgl@xxxxxxxxxxxxx> wrote in message
news:18913.1120605014@xxxxxxxxxxxxxxxx
> "Otto Blomqvist" <o.blomqvist@xxxxxxxxxxxxx> 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)---------------------------
> TIP 8: explain analyze is your friend
>



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux