Re: pgstattuple does not contain CHECK_FOR_INTERRUPTS()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuhito Kasahara <kasahara(dot)tatsuhito(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgstattuple does not contain CHECK_FOR_INTERRUPTS()
Date: 2010-04-02 15:51:32
Message-ID: 26763.1270223492@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuhito Kasahara <kasahara(dot)tatsuhito(at)oss(dot)ntt(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2010-04-02 16:15:19 Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c
Previous Message Tom Lane 2010-04-02 15:46:18 Re: walreceiver is uninterruptible on win32