aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.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:24 -0400
commit995a664c85539e7f4ea6cdf3076df43d482bc7d7 (patch)
tree8603c2009cd23951e5d9f9b1de33d36b7c1f252f /src/backend/utils/adt/json.c
parent56abebb9be6d1e7179d10cdc362caa4405f06784 (diff)
downloadpostgresql-995a664c85539e7f4ea6cdf3076df43d482bc7d7.tar.gz
postgresql-995a664c85539e7f4ea6cdf3076df43d482bc7d7.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/json.c')
0 files changed, 0 insertions, 0 deletions