- Notifications
You must be signed in to change notification settings - Fork5
Commitcae2bb1
committed
Make pg_dump behave more sanely when built without HAVE_LIBZ.
For some reason the code to emit a warning and switch to uncompressedoutput was placed down in the guts of pg_backup_archiver.c. This isdefinitely too late in the case of parallel operation (and I ratherwonder if it wasn't too late for other purposes as well). Put it inpg_dump.c's option-processing logic, which seems a much saner place.Also, the default behavior with custom or directory output format wasto emit the warning telling you the output would be uncompressed. Thisseems unhelpful, so silence that case.Back-patch to 9.3 where parallel dump was introduced.Kyotaro Horiguchi, adjusted a bit by meReport: <20160526.185551.242041780.horiguchi.kyotaro@lab.ntt.co.jp>1 parentdf8d2d8 commitcae2bb1
2 files changed
+9
-10
lines changedLines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3475 | 3475 |
| |
3476 | 3476 |
| |
3477 | 3477 |
| |
3478 |
| - | |
3479 |
| - | |
3480 |
| - | |
3481 |
| - | |
3482 |
| - | |
3483 |
| - | |
3484 |
| - | |
3485 |
| - | |
3486 |
| - | |
3487 | 3478 |
| |
3488 |
| - | |
3489 | 3479 |
| |
3490 | 3480 |
| |
3491 | 3481 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
| 592 | + | |
592 | 593 |
| |
593 | 594 |
| |
594 | 595 |
| |
| 596 | + | |
595 | 597 |
| |
596 | 598 |
| |
597 | 599 |
| |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
598 | 607 |
| |
599 | 608 |
| |
600 | 609 |
| |
|
0 commit comments
Comments
(0)