]> 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:15 +0000 (17:17 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 7 Sep 2015 14:17:15 +0000 (17:17 +0300)
commitd592a8745fd0320fd5e691b59bf5a95d9834a286
tree7131317d12ba495e61c85f9cf2bb0aeec0145b3f
parent552723a3bf6d3caefafaa0afe9afcde31ccdb481
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