pgsql: Add vacuum_delay_point call in compute_index_stats's per-sample- - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add vacuum_delay_point call in compute_index_stats's per-sample-
Date
Msg-id E1YcIWx-0002Ok-RX@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add vacuum_delay_point call in compute_index_stats's per-sample-row loop.

Slow functions in index expressions might cause this loop to take long
enough to make it worth being cancellable.  Probably it would be enough
to call CHECK_FOR_INTERRUPTS here, but for consistency with other
per-sample-row loops in this file, let's use vacuum_delay_point.

Report and patch by Jeff Janes.  Back-patch to all supported branches.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/995a664c85539e7f4ea6cdf3076df43d482bc7d7

Modified Files
--------------
src/backend/commands/analyze.c |    2 ++
1 file changed, 2 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add vacuum_delay_point call in compute_index_stats's per-sample-
Next
From: Tom Lane
Date:
Subject: pgsql: Add vacuum_delay_point call in compute_index_stats's per-sample-