pgsql: Make GIN's cleanup pending list process interruptable - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Make GIN's cleanup pending list process interruptable
Date
Msg-id E1ZYxJE-0006Vu-ES@gemulon.postgresql.org
Whole thread Raw
List 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_4_STABLE

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

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


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: pgsql: Make GIN's cleanup pending list process interruptable
Next
From: Teodor Sigaev
Date:
Subject: pgsql: Make GIN's cleanup pending list process interruptable