pgsql: Check for interrupts in pg_trgm word similarity

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

pgsql: Check for interrupts in pg_trgm word similarity

От:
Daniel Gustafsson <dgustafsson@postgresql.org>
Дата:
Check for interrupts in pg_trgm word similarity

Calculating similarity between large strings can be timesconsuming
and overrun configured statement timeouts. Check for interrupts in
the main loop to ensure query cancellation can be performed.

Author: Robins Tharakan 
Reviewed-by: Tom Lane 
Discussion: https://postgr.es/m/CAEP4nAxvmfc_XWTz73bqXRhgjONi=1HaX4_NhsopA3L6UvnN1g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ae4fc52ae24785f51e3dc5a4c7e5b4d206356bdc

Modified Files
--------------
contrib/pg_trgm/trgm_op.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

FAQ