[postgis-tickets] [PostGIS] #2970: Improve error on interruption of GEOS-implemented functions

PostGIS trac at osgeo.org
Wed Oct 22 02:52:03 PDT 2014


#2970: Improve error on interruption of GEOS-implemented functions
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  strk         
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  postgis      |     Version:  2.1.x        
 Keywords:               |  
-------------------------+--------------------------------------------------
 When a GEOS implemented function is interrupted by user request or
 timeout, the error message that comes out is always something like:
 {{{
 ERROR:  GEOSBuffer: InterruptedException: Interrupted!
 }}}

 Instead, the PostgreSQL error message on interruption is more detailed
 about the event that triggered interruption, either:
 {{{
 ERROR:  canceling statement due to statement timeout
 }}}
 or
 {{{
 ERROR:  canceling statement due to user request
 }}}

 It would be nice to have the same detail when interrupting GEOS functions.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2970>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list