Commit 937b858
committed
Remove pg_dump/parallel.c's useless "aborting" flag.
This was effectively dead code, since the places that tested it could not
be reached after we entered the on-exit-cleanup routine that would set it.
It seems to have been a leftover from a design in which error abort would
try to send fresh commands to the workers --- a design which could never
have worked reliably, of course. Since the flag is not cross-platform, it
complicates reasoning about the code's behavior, which we could do without.
Although this is effectively just cosmetic, back-patch anyway, because
there are some actual bugs in the vicinity of this behavior.
Discussion: <15583.1464462418@sss.pgh.pa.us>1 parent bf7b169 commit 937b858
1 file changed
+6
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 97 | + | |
102 | 98 | | |
103 | 99 | | |
104 | 100 | | |
| |||
300 | 296 | | |
301 | 297 | | |
302 | 298 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 299 | | |
312 | 300 | | |
313 | 301 | | |
| |||
1177 | 1165 | | |
1178 | 1166 | | |
1179 | 1167 | | |
1180 | | - | |
1181 | | - | |
1182 | | - | |
| 1168 | + | |
1183 | 1169 | | |
1184 | | - | |
| 1170 | + | |
1185 | 1171 | | |
1186 | 1172 | | |
1187 | 1173 | | |
| |||
1278 | 1264 | | |
1279 | 1265 | | |
1280 | 1266 | | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
1292 | 1270 | | |
1293 | 1271 | | |
1294 | 1272 | | |
| |||
0 commit comments