pgstattuple does not contain CHECK_FOR_INTERRUPTS()

Started by Tatsuhito Kasaharaabout 16 years ago2 messageshackers
Jump to latest
#1Tatsuhito Kasahara
kasahara.tatsuhito@oss.ntt.co.jp

Hi,

pgstattuple (and pgstatindex) does not contain CHECK_FOR_INTERRUPTS().
Therefore, we can not stop pgstattuple() by using the signal while a
large table is processed.

Here is the patch to solve it.

Best regards,

--
NTT OSS Center
Tatsuhito Kasahara

Attachments:

pgstattuple.patchtext/plain; name=pgstattuple.patchDownload+8-0
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tatsuhito Kasahara (#1)
Re: pgstattuple does not contain CHECK_FOR_INTERRUPTS()

Tatsuhito Kasahara <kasahara.tatsuhito@oss.ntt.co.jp> writes:

pgstattuple (and pgstatindex) does not contain CHECK_FOR_INTERRUPTS().
Therefore, we can not stop pgstattuple() by using the signal while a
large table is processed.

Here is the patch to solve it.

Seems to be a good idea --- will apply. Thanks!

regards, tom lane