Jeff Janes <jeff.janes@gmail.com> writes:
> On Mon, Mar 23, 2015 at 7:07 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Yeah, checking for SIGHUP in the worker outer loop (ie once per table)
>> seems like a reasonable thing.
> Could it be done more often? Maybe every time it is about to do a
> cost_delay sleep?
That sounds risky from here. Normal backends don't check it more often
than once per command.
regards, tom lane