forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit99565a1
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 parentb9784e1 commit99565a1
2 files changed
+9
-10
lines changedLines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3214 | 3214 |
| |
3215 | 3215 |
| |
3216 | 3216 |
| |
3217 |
| - | |
3218 |
| - | |
3219 |
| - | |
3220 |
| - | |
3221 |
| - | |
3222 |
| - | |
3223 |
| - | |
3224 |
| - | |
3225 |
| - | |
3226 | 3217 |
| |
3227 |
| - | |
3228 | 3218 |
| |
3229 | 3219 |
| |
3230 | 3220 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
595 | 595 |
| |
596 | 596 |
| |
597 | 597 |
| |
| 598 | + | |
598 | 599 |
| |
599 | 600 |
| |
600 | 601 |
| |
| 602 | + | |
601 | 603 |
| |
602 | 604 |
| |
603 | 605 |
| |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
604 | 613 |
| |
605 | 614 |
| |
606 | 615 |
| |
|
0 commit comments
Comments
(0)