- Notifications
You must be signed in to change notification settings - Fork5
Commitb496645
committed
Do not return from PQrequestCancel until postmaster has finished
processing the request; this ensures that the request won't be takento cancel a subsequently-issued query. Race condition originallynoted by Oliver Jowett in the context of JDBC, but libpq has it too.1 parentbf2f5d9 commitb496645
1 file changed
+18
-2
lines changedLines changed: 18 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
2262 | 2262 |
| |
2263 | 2263 |
| |
2264 | 2264 |
| |
2265 |
| - | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2266 | 2282 |
| |
2267 | 2283 |
| |
2268 | 2284 |
| |
|
0 commit comments
Comments
(0)