forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitae4fc52
committed
Check for interrupts in pg_trgm word similarity
Calculating similarity between large strings can be timesconsumingand overrun configured statement timeouts. Check for interrupts inthe main loop to ensure query cancellation can be performed.Author: Robins Tharakan <tharakan@gmail.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CAEP4nAxvmfc_XWTz73bqXRhgjONi=1HaX4_NhsopA3L6UvnN1g@mail.gmail.com1 parent519be09 commitae4fc52
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
492 | 493 |
| |
493 | 494 |
| |
494 | 495 |
| |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
495 | 500 |
| |
496 |
| - | |
| 501 | + | |
497 | 502 |
| |
498 | 503 |
| |
499 | 504 |
| |
|
0 commit comments
Comments
(0)