Commit 210981a
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 6b3094c commit 210981a
1 file changed
+6
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 98 | + | |
103 | 99 | | |
104 | 100 | | |
105 | 101 | | |
| |||
301 | 297 | | |
302 | 298 | | |
303 | 299 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 300 | | |
313 | 301 | | |
314 | 302 | | |
| |||
1178 | 1166 | | |
1179 | 1167 | | |
1180 | 1168 | | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
| 1169 | + | |
1184 | 1170 | | |
1185 | | - | |
| 1171 | + | |
1186 | 1172 | | |
1187 | 1173 | | |
1188 | 1174 | | |
| |||
1279 | 1265 | | |
1280 | 1266 | | |
1281 | 1267 | | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
1293 | 1271 | | |
1294 | 1272 | | |
1295 | 1273 | | |
| |||
0 commit comments