Check for interrupts during non-fast-update GIN insertion ginExtractEntries() can produce a lot of entries for a single item. During index build, we check for interrupts between entries, and the fast-update codepath does it as part of vacuum_delay_point(), but the non-fast update insertion codepath was uninterruptible. Add CHECK_FOR_INTERRUPTS() between entries in the non-fast update codepath too.
Author: Vinod Sridharan <[email protected]> Discussion: https://www.postgresql.org/message-id/cafmdld6mqvaustiogvbjxaefo6wdjzhj3+jvetlxox8mvn4...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2e1dcf8c5424309305182af4700314cf59bab6b0 Modified Files -------------- src/backend/access/gin/gininsert.c | 4 ++++ 1 file changed, 4 insertions(+)
