Re: pgstattuple does not contain CHECK_FOR_INTERRUPTS() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgstattuple does not contain CHECK_FOR_INTERRUPTS()
Date
Msg-id 26763.1270223492@sss.pgh.pa.us
Whole thread Raw
In response to pgstattuple does not contain CHECK_FOR_INTERRUPTS()  (Tatsuhito Kasahara <kasahara.tatsuhito@oss.ntt.co.jp>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: master in standby mode croaks
Next
From: Josh Berkus
Date:
Subject: Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c