Re: Custom C function shutdown-signaling - Mailing list pgsql-general

From Otto Blomqvist
Subject Re: Custom C function shutdown-signaling
Date
Msg-id dagsk0$38p$1@news.hub.org
Whole thread Raw
In response to Custom C function shutdown-signaling  ("Otto Blomqvist" <o.blomqvist@secomintl.com>)
List pgsql-general
Once again Tom comes threw and saves the day...!

Thanks Tom !

/Otto Blomqvist



"Tom Lane" <tgl@sss.pgh.pa.us> wrote in message
news:18913.1120605014@sss.pgh.pa.us...
> "Otto Blomqvist" <o.blomqvist@secomintl.com> 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
>



pgsql-general by date:

Previous
From: Joe Markwardt
Date:
Subject: ERROR: cache lookup failed for relation 438095645
Next
From: Tom Lane
Date:
Subject: Re: ERROR: cache lookup failed for relation 438095645