- Notifications
You must be signed in to change notification settings - Fork5
Commit067e40c
committed
Do a CHECK_FOR_INTERRUPTS immediately before terminating a fastpath
function call. Previously, there may have been no CHECK_FOR_INTERRUPTSat all in the fastpath code path, making it impossible to cancel anoperation such as \lo_import externally. This addition doesn't ensureyou can cancel, since your SIGINT may arrive while the backend is idlewaiting for the client, but it gives the largest window we can easilyprovide. Noted while experimenting with new control-C code for psql.1 parentaa30e0e commit067e40c
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
382 | 382 |
| |
383 | 383 |
| |
384 | 384 |
| |
| 385 | + | |
| 386 | + | |
| 387 | + | |
385 | 388 |
| |
386 | 389 |
| |
387 | 390 |
| |
|
0 commit comments
Comments
(0)