]> granicus.if.org Git - postgresql/commit
Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 14 Dec 2015 19:44:40 +0000 (16:44 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 14 Dec 2015 19:44:40 +0000 (16:44 -0300)
commit0d8f3d5d11f7304c82ce1383bbb491ec6abcffc4
tree5ffc138b8d308cf004638b85f820faa6f92e4a9a
parente2f1765ce0770e813971336bb4603099d24cbe57
Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly

Apparently, there are bugs in this code that cause it to loop endlessly.
That bug still needs more research, but in the meantime it's clear that
the loop is missing a check for interrupts so that it can be cancelled
timely.

Backpatch to 9.1 -- this has been missing since 49475aab8d0d.
src/backend/utils/adt/geo_ops.c