[postgis-tickets] [PostGIS] #5365: interrupt tests fail due to change in error message

PostGIS trac at osgeo.org
Fri Apr 28 08:08:11 PDT 2023


#5365: interrupt tests fail due to change in error message
------------------------+---------------------------
  Reporter:  strk       |      Owner:  robe
      Type:  defect     |     Status:  new
  Priority:  medium     |  Milestone:  PostGIS 3.4.0
 Component:  buildbots  |    Version:  master
Resolution:             |   Keywords:
------------------------+---------------------------
Comment (by strk):

 I think the key here is "let PostgreSQL deal with the error", meaning IFF
 the geos error message is an interruption, we should do that, as a geos
 interruption is supposed to ONLY happen upon request from PostgreSQL, be
 it a timeout or a user request.

 So the {{{ ! strstr }}} condition was correct, in that it ONLY reported
 the GEOS error message when the GEOS exception was NOT an interrupt
 request.

 What caused #4070 isn't clear to me, maybe pg_cancel_backend() triggers
 events in some unexpected order.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5365#comment:3>
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