- Notifications
You must be signed in to change notification settings - Fork28
Commitd9e223d
committed
Fix critical error noticed by Massimo: copy.c used to have a
special hack to ensure it would close its output file even after failuredue to elog(ERROR) partway through the copy. This is now unnecessarybecause fd.c takes care of cleaning up open files at transaction abort;worse, after fd.c closed the file copy.c would try to do so *again* atthe start of the next COPY command. This would result in havoc in mostimplementations of stdio library.1 parentaaf2442 commitd9e223d
1 file changed
+2
-17
lines changedLines changed: 2 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
243 |
| - | |
| 242 | + | |
244 | 243 |
| |
245 | 244 |
| |
246 | 245 |
| |
247 | 246 |
| |
248 | 247 |
| |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 | 248 |
| |
261 | 249 |
| |
262 | 250 |
| |
| |||
299 | 287 |
| |
300 | 288 |
| |
301 | 289 |
| |
302 |
| - | |
303 | 290 |
| |
304 | 291 |
| |
305 | 292 |
| |
| |||
332 | 319 |
| |
333 | 320 |
| |
334 | 321 |
| |
335 |
| - | |
336 | 322 |
| |
337 | 323 |
| |
338 | 324 |
| |
339 | 325 |
| |
340 | 326 |
| |
341 | 327 |
| |
342 |
| - | |
343 | 328 |
| |
344 | 329 |
| |
345 | 330 |
| |
|
0 commit comments
Comments
(0)