- Notifications
You must be signed in to change notification settings - Fork28
Commitb8c6014
committed
Fix ordering of GRANT commands in pg_dump for database creation
This uses a method similar to68a7c24, which guarantees that GRANTcommands using the WITH GRANT OPTION are dumped in a way so as cascadingdependencies are respected. As databases do not have support forinitial privileges via pg_init_privs, we need to repeat again the sameACL reordering method.ACL for databases have been moved from pg_dumpall to pg_dump in v11, sothis impacts pg_dump for v11 and above, and pg_dumpall for v9.6 andv10.Discussion:https://postgr.es/m/15788-4e18847520ebcc75@postgresql.orgAuthor: Nathan BossartReviewed-by: Haribabu KommiBackpatch-through: 9.61 parent5eb4a51 commitb8c6014
1 file changed
+28
-7
lines changedLines changed: 28 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2664 | 2664 |
| |
2665 | 2665 |
| |
2666 | 2666 |
| |
2667 |
| - | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
2668 | 2677 |
| |
2669 | 2678 |
| |
2670 | 2679 |
| |
2671 | 2680 |
| |
2672 | 2681 |
| |
2673 | 2682 |
| |
2674 |
| - | |
2675 |
| - | |
2676 |
| - | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
2677 | 2692 |
| |
2678 |
| - | |
2679 |
| - | |
2680 |
| - | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
| 2701 | + | |
2681 | 2702 |
| |
2682 | 2703 |
| |
2683 | 2704 |
| |
|
0 commit comments
Comments
(0)