forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit64b2969
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 parent6479df1 commit64b2969
2 files changed
+9
-10
lines changedLines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3413 | 3413 |
| |
3414 | 3414 |
| |
3415 | 3415 |
| |
3416 |
| - | |
3417 |
| - | |
3418 |
| - | |
3419 |
| - | |
3420 |
| - | |
3421 |
| - | |
3422 |
| - | |
3423 |
| - | |
3424 |
| - | |
3425 | 3416 |
| |
3426 |
| - | |
3427 | 3417 |
| |
3428 | 3418 |
| |
3429 | 3419 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
579 | 579 |
| |
580 | 580 |
| |
581 | 581 |
| |
| 582 | + | |
582 | 583 |
| |
583 | 584 |
| |
584 | 585 |
| |
| 586 | + | |
585 | 587 |
| |
586 | 588 |
| |
587 | 589 |
| |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
588 | 597 |
| |
589 | 598 |
| |
590 | 599 |
| |
|
0 commit comments
Comments
(0)