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