> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>
> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> > ExecProcNode doesn't return unless
> > it finds a tuple which satisfies the qualification.
>
> Oh, of course you are right. I guess there should be
> CHECK_FOR_INTERRUPTS in the per-tuple loops of nodeSeqscan.c
> and nodeIndexscan.c, as well. Joins should be okay, since they
> get their inputs from lower-level ExecProcNode calls.
Now I realize that 7.1 already changed the handling of
die interrupts fundamentally. For example we can't kill
the backend which is in a trouble with an infinite loop.
Was it an intended change ?
regards,
Hiroshi Inoue