pgsql: Make GIN's cleanup pending list process interruptable

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема pgsql: Make GIN's cleanup pending list process interruptable
Дата
Msg-id E1ZYxJE-0006Vw-Em@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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>

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/cd6f4248f8810cb186edc2c92f0834762e0f88b6

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Make GIN's cleanup pending list process interruptable
Следующее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Make GIN's cleanup pending list process interruptable