forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3ad2c24
committed
pg_dump: fix mis-dumping of non-global default privileges.
Non-global default privilege entries should be dumped as-is,not made relative to the default ACL for their object type.This would typically only matter if one had revoked someon-by-default privileges in a global entry, and then wantedto grant them again in a non-global entry.Per report from Boris Korzun. This is an old bug, so back-patchto all supported branches.Neil Chen, test case by Masahiko SawadaDiscussion:https://postgr.es/m/111621616618184@mail.yandex.ruDiscussion:https://postgr.es/m/CAA3qoJnr2+1dVJObNtfec=qW4Z0nz=A9+r5bZKoTSy5RDjskMw@mail.gmail.com1 parent52c0c11 commit3ad2c24
2 files changed
+37
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9787 | 9787 |
| |
9788 | 9788 |
| |
9789 | 9789 |
| |
| 9790 | + | |
| 9791 | + | |
| 9792 | + | |
| 9793 | + | |
| 9794 | + | |
| 9795 | + | |
| 9796 | + | |
| 9797 | + | |
| 9798 | + | |
| 9799 | + | |
| 9800 | + | |
| 9801 | + | |
| 9802 | + | |
| 9803 | + | |
9790 | 9804 |
| |
9791 | 9805 |
| |
9792 |
| - | |
| 9806 | + | |
| 9807 | + | |
| 9808 | + | |
| 9809 | + | |
9793 | 9810 |
| |
9794 | 9811 |
| |
9795 | 9812 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
439 | 458 |
| |
440 | 459 |
| |
441 | 460 |
| |
|
0 commit comments
Comments
(0)