- Notifications
You must be signed in to change notification settings - Fork28
Commit8357a41
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 parent9fea0b0 commit8357a41
1 file changed
+28
-7
lines changedLines changed: 28 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2566 | 2566 |
| |
2567 | 2567 |
| |
2568 | 2568 |
| |
2569 |
| - | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
2570 | 2579 |
| |
2571 | 2580 |
| |
2572 | 2581 |
| |
2573 | 2582 |
| |
2574 | 2583 |
| |
2575 | 2584 |
| |
2576 |
| - | |
2577 |
| - | |
2578 |
| - | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
2579 | 2594 |
| |
2580 |
| - | |
2581 |
| - | |
2582 |
| - | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
2583 | 2604 |
| |
2584 | 2605 |
| |
2585 | 2606 |
| |
|
0 commit comments
Comments
(0)