Make GIN's cleanup pending list process interruptable

Teodor Sigaev <teodor@sigaev.ru>

Commit: 3ffbc499419710054d1c96403f6d7edecd344994
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2015-09-07T14:18:26Z
Releases: 9.2.14
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>

Files

PathChange+/−
src/backend/access/gin/ginfast.c modified +3 −5