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