forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit12128be
committed
Fix dumping role comments when using --no-role-passwords
Commit9a83d56 added support for allowing pg_dumpall to dumproles without including passwords, which accidentally made dumpsomit COMMENTs on roles. This fixes it by using pg_authid to getthe comment.Backpatch to all supported versions. Patch simultaneously writtenindependently by Álvaro and myself.Author: Álvaro Herrera <alvherre@alvh.no-ip.org>Author: Daniel Gustafsson <daniel@yesql.se>Reported-by: Bartosz Chroł <bartosz.chrol@handen.pl>Discussion:https://postgr.es/m/AS8P194MB1271CDA0ADCA7B75FCD8E767F7332@AS8P194MB1271.EURP194.PROD.OUTLOOK.COMDiscussion:https://postgr.es/m/CAEP4nAz9V4H41_4ESJd1Gf0v%3DdevkqO1%3Dpo91jUw-GJSx8Hxqg%40mail.gmail.comBackpatch-through: v121 parentea299d7 commit12128be
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
736 | 736 |
| |
737 | 737 |
| |
738 | 738 |
| |
739 |
| - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
740 | 743 |
| |
741 | 744 |
| |
742 | 745 |
| |
743 | 746 |
| |
744 | 747 |
| |
745 | 748 |
| |
746 |
| - | |
| 749 | + | |
747 | 750 |
| |
748 | 751 |
| |
749 | 752 |
| |
750 |
| - | |
| 753 | + | |
751 | 754 |
| |
752 | 755 |
| |
753 | 756 |
| |
754 | 757 |
| |
755 | 758 |
| |
756 | 759 |
| |
757 |
| - | |
| 760 | + | |
758 | 761 |
| |
759 | 762 |
| |
760 |
| - | |
| 763 | + | |
761 | 764 |
| |
762 | 765 |
| |
763 | 766 |
| |
764 | 767 |
| |
765 | 768 |
| |
766 | 769 |
| |
767 | 770 |
| |
768 |
| - | |
| 771 | + | |
769 | 772 |
| |
770 | 773 |
| |
771 |
| - | |
| 774 | + | |
772 | 775 |
| |
773 | 776 |
| |
774 | 777 |
| |
|
0 commit comments
Comments
(0)