pgsql: Make GIN's cleanup pending list process interruptable

Поиск
Список
Период
Сортировка
Искать

pgsql: Make GIN's cleanup pending list process interruptable

От:
Teodor Sigaev <teodor@sigaev.ru>
Дата:
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 

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/364c0235708af88f5013f7a0b35ab3e615fbeb0b

Modified Files
--------------
src/backend/access/gin/ginfast.c |    8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)

FAQ