]> granicus.if.org Git - postgresql/commit
Make GIN's cleanup pending list process interruptable
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 7 Sep 2015 14:17:42 +0000 (17:17 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 7 Sep 2015 14:17:42 +0000 (17:17 +0300)
commitb6e367373bfada76d0cefae04ce4cb01c2b537dd
treed77644701aa713aa4647e816f435a77e73c1bd36
parent1e0309465bfdf67dcb8ed0597c3aa1257582f14e
Make GIN's cleanup pending list process interruptable

Cleanup process could be called by ordinary insert/update and could take a lot
of time. Add vacuum_delay_point() to make this process interruptable. Under
vacuum this call will also throttle a vacuum process to decrease system load,
called from insert/update it will not throttle, and that reduces a latency.

Backpatch for all supported branches.

Jeff Janes <jeff.janes@gmail.com>
src/backend/access/gin/ginfast.c