Обсуждение: pgsql: Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly

Поиск
Список
Период
Сортировка

pgsql: Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly

От
Alvaro Herrera
Дата:
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.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/871e28062cf55d2bfa967a5cec25d5e03818bd14

Modified Files
--------------
src/backend/utils/adt/geo_ops.c |    3 +++
1 file changed, 3 insertions(+)