[PostGIS] #5841: Pg18 changes pqsignal() return
PostGIS
trac at osgeo.org
Thu Jan 23 13:56:32 PST 2025
#5841: Pg18 changes pqsignal() return
----------------------+---------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.6.0
Component: postgis | Version: master
Resolution: | Keywords:
----------------------+---------------------------
Comment (by pramsey):
The correct answer is to not try to catch signals at all, leave that to
PostgreSQL. Instead, just look at the current value of `QueryCancelPending
|| ProcDiePending` from `miscadmin.h` to find out what the interrupt state
is. This turns out to be not hard to do with the existing callback
facilities in geos and liblwgeom.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5841#comment:1>
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