Re: Custom C function shutdown-signaling

From: "Otto Blomqvist" <o(dot)blomqvist(at)secomintl(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom C function shutdown-signaling
Date: 2005-07-06 15:16:56
Message-ID: dagsk0$38p$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Thanks Tom !

/Otto Blomqvist

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote in message
news:18913(dot)1120605014(at)sss(dot)pgh(dot)pa(dot)us(dot)(dot)(dot)
> "Otto Blomqvist" <o(dot)blomqvist(at)secomintl(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-07-06 15:20:44 Re: ERROR: cache lookup failed for relation 438095645
Previous Message Joe Markwardt 2005-07-06 14:51:45 ERROR: cache lookup failed for relation 438095645