]> granicus.if.org Git - postgresql/commit
Make GIN's cleanup pending list process interruptable
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 7 Sep 2015 14:18:45 +0000 (17:18 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 7 Sep 2015 14:18:45 +0000 (17:18 +0300)
commit364c0235708af88f5013f7a0b35ab3e615fbeb0b
treeb09c6b3081aaaea9bfdfd095f9b4275d321736da
parente3fa55d14324677391e9c1ff6342e6ffa7d560b0
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