- Notifications
You must be signed in to change notification settings - Fork5
Commitbe09ceb
committed
Fix pg_dumpall to restore its ability to dump from ancient servers.
Fix breakage induced by commitsd8d3d2aand463f262: pg_dumpall has crashed whenattempting to dump from pre-8.1 servers since then, due to faultyconstruction of the query used for dumping roles from older servers.The query was erroneous as of the earlier commit, but it wasn't exposedunless you tried to use --binary-upgrade, which you presumably wouldn'twith a pre-8.1 server. However commit463f262 made it fail always.In HEAD, also fix additional breakage induced in the same query bycommit491c029, which evidently wasn'ttested against pre-8.1 servers either.The bug is only latent in 9.1 because463f262 hadn't landed yet, butit seems best to back-patch all branches containing the faulty query.Gilles Darold1 parent89fd41b commitbe09ceb
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
714 | 714 |
| |
715 | 715 |
| |
716 | 716 |
| |
717 |
| - | |
| 717 | + | |
718 | 718 |
| |
719 | 719 |
| |
720 | 720 |
| |
| |||
724 | 724 |
| |
725 | 725 |
| |
726 | 726 |
| |
| 727 | + | |
727 | 728 |
| |
728 | 729 |
| |
729 | 730 |
| |
730 | 731 |
| |
731 |
| - | |
| 732 | + | |
732 | 733 |
| |
733 | 734 |
| |
734 | 735 |
| |
| |||
739 | 740 |
| |
740 | 741 |
| |
741 | 742 |
| |
742 |
| - | |
| 743 | + | |
| 744 | + | |
743 | 745 |
| |
744 | 746 |
| |
745 | 747 |
| |
|
0 commit comments
Comments
(0)