Re: Uninterruptible slow geo_ops.c - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Uninterruptible slow geo_ops.c
Date
Msg-id 20151214194814.GB2618@alvherre.pgsql
Whole thread Raw
In response to Uninterruptible slow geo_ops.c  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera wrote:

> While I'm not familiar with the code itself, and can't post the exact
> slow query just yet, I have noticed that it is missing a
> CHECK_FOR_INTERRUPTS() call to enable cancelling the slow query.  I'd
> backpatch this all the way back.  (The exact issue they hit is mutual
> recursion between touched_lseg_between_poly and lseg_between_poly.
> Since the latter also recurses on itself, the best way forward seem to
> add a check for interrupts in the loop there.)

Pushed this part.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Proposal: custom compression methods
Next
From: Alvaro Herrera
Date:
Subject: Re: fix for readline terminal size problems when window is resized with open pager