[postgis-tickets] [PostGIS] #4070: Wrong postgres error code

PostGIS trac at osgeo.org
Wed Apr 18 07:06:03 PDT 2018


#4070: Wrong postgres error code
-------------------------+---------------------------
 Reporter:  furstenheim  |      Owner:  pramsey
     Type:  defect       |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 2.4.5
Component:  postgis      |    Version:  2.4.x
 Keywords:               |
-------------------------+---------------------------
 I have a query that is using the following postgis functions:

     ST_AsMVT

     ST_AsMVTGeom

     TileBBox

 (sorry I cannot show the whole query)
 To avoid wasting resources I often cancel the query if it is not needed
 (for example a user changing the zoom). I do that with
 pg_cancel_backend(pid)

 Most of the time it works out fine and I get the proper exit code 57014.
 However, sometimes I get the following error:

 GEOSisValid(): InterruptedException: Interrupted!

 with an exit code of XX000 (internal error)

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4070>
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