pgsql: Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly
Дата
Msg-id E1a8Z4J-0004Cd-R5@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/188675256e15f7ad4d24ae976d1bb5fbb84f43e1

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Add missing CHECK_FOR_INTERRUPTS in lseg_inside_poly
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: pg_rewind: Don't error if the two clusters are already on the sa