forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit03d02f5
committed
Prepare pg_dump internals for additional compression methods
Commitbf9aa49 introduced a compression API in compress_io.{c,h} tomake reuse easier, and allow adding more compression algorithms.However, pg_backup_archiver.c was not switched to this API and continuedto call the compression directly.This commit teaches pg_backup_archiver.c about the compression API, sothat it can benefit frombf9aa49 (simpler code, easier addition ofnew compression methods).Author: Georgios KokolatosReviewed-by: Michael Paquier, Rachel Heaton, Justin Pryzby, Tomas VondraDiscussion:https://postgr.es/m/faUNEOpts9vunEaLnmxmG-DldLSg_ql137OC3JYDmgrOMHm1RvvWY2IdBkv_CRxm5spCCb_OmKNk2T03TMm0fBEWveFF9wA1WizPuAgB7Ss%3D%40protonmail.com1 parent009eeee commit03d02f5
File tree
4 files changed
+138
-128
lines changed- src/bin/pg_dump
4 files changed
+138
-128
lines changedLines changed: 84 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
59 | 94 |
| |
60 | 95 |
| |
61 | 96 |
| |
| |||
490 | 525 |
| |
491 | 526 |
| |
492 | 527 |
| |
493 |
| - | |
494 |
| - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
495 | 533 |
| |
496 | 534 |
| |
497 | 535 |
| |
498 |
| - | |
499 |
| - | |
500 |
| - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
501 | 539 |
| |
502 |
| - | |
| 540 | + | |
503 | 541 |
| |
504 | 542 |
| |
505 | 543 |
| |
| |||
511 | 549 |
| |
512 | 550 |
| |
513 | 551 |
| |
514 |
| - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
515 | 556 |
| |
516 | 557 |
| |
517 | 558 |
| |
518 | 559 |
| |
519 |
| - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
520 | 564 |
| |
521 | 565 |
| |
522 |
| - | |
523 | 566 |
| |
524 | 567 |
| |
525 | 568 |
| |
| |||
531 | 574 |
| |
532 | 575 |
| |
533 | 576 |
| |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
538 | 582 |
| |
539 | 583 |
| |
540 | 584 |
| |
| |||
545 | 589 |
| |
546 | 590 |
| |
547 | 591 |
| |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
548 | 619 |
| |
549 | 620 |
| |
550 | 621 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
| |||
54 | 56 |
| |
55 | 57 |
| |
56 | 58 |
| |
| 59 | + | |
| 60 | + | |
57 | 61 |
| |
58 | 62 |
| |
59 | 63 |
| |
|
0 commit comments
Comments
(0)