forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit66ab937
committed
dblink/isolationtester/fe_utils: Use new cancel API
Commit61461a3 introduced new functions to libpq for cancellingqueries. This replaces the usage of the old ones in parts of thecodebase with these newer ones. This specifically leaves out changes topsql and pgbench, as those would need a much larger refactor to be ableto call them due to the new functions not being signal-safe; and alsopostgres_fdw, because the original code there is not clear to me(Álvaro) and not fully tested.Author: Jelte Fennema-Nio <postgres@jeltef.nl>Discussion:https://postgr.es/m/CAGECzQT_VgOWWENUqvUV9xQmbaCyXjtRRAYO8W07oqashk_N+g@mail.gmail.com1 parent61f352e commit66ab937
File tree
3 files changed
+31
-35
lines changed- contrib/dblink
- src
- fe_utils
- test/isolation
3 files changed
+31
-35
lines changedLines changed: 16 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 | 1348 |
| |
1349 |
| - | |
1350 | 1349 |
| |
1351 |
| - | |
1352 |
| - | |
| 1350 | + | |
| 1351 | + | |
1353 | 1352 |
| |
1354 | 1353 |
| |
1355 | 1354 |
| |
1356 |
| - | |
| 1355 | + | |
1357 | 1356 |
| |
1358 |
| - | |
1359 |
| - | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
1360 | 1369 |
| |
1361 |
| - | |
1362 |
| - | |
1363 |
| - | |
1364 |
| - | |
| 1370 | + | |
1365 | 1371 |
| |
1366 | 1372 |
| |
1367 | 1373 |
| |
|
Lines changed: 3 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
160 |
| - | |
161 |
| - | |
162 | 160 |
| |
163 | 161 |
| |
164 | 162 |
| |
165 | 163 |
| |
166 |
| - | |
| 164 | + | |
167 | 165 |
| |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
| 166 | + | |
| 167 | + | |
173 | 168 |
| |
174 | 169 |
| |
175 | 170 |
| |
|
Lines changed: 12 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
946 | 946 |
| |
947 | 947 |
| |
948 | 948 |
| |
949 |
| - | |
| 949 | + | |
950 | 950 |
| |
951 |
| - | |
| 951 | + | |
952 | 952 |
| |
953 |
| - | |
954 |
| - | |
955 |
| - | |
956 |
| - | |
957 |
| - | |
958 |
| - | |
959 |
| - | |
960 |
| - | |
961 |
| - | |
962 |
| - | |
963 |
| - | |
964 |
| - | |
965 |
| - | |
966 |
| - | |
967 |
| - | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
968 | 960 |
| |
| 961 | + | |
| 962 | + | |
| 963 | + | |
969 | 964 |
| |
970 | 965 |
| |
971 | 966 |
| |
|
0 commit comments
Comments
(0)