aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ascii.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-03-29 15:04:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-03-29 15:04:09 -0400
commite4cbfd673d530a3e841db26a74f22e11a991205a (patch)
tree73b4a75797ef1f0bcd4ed3a348acbc47e3f227fc /src/backend/utils/adt/ascii.c
parent1601830ec20d56dc7bf6b60a34f69841429e4825 (diff)
downloadpostgresql-e4cbfd673d530a3e841db26a74f22e11a991205a.tar.gz
postgresql-e4cbfd673d530a3e841db26a74f22e11a991205a.zip
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.
Diffstat (limited to 'src/backend/utils/adt/ascii.c')
0 files changed, 0 insertions, 0 deletions