- Notifications
You must be signed in to change notification settings - Fork4.9k
Commita36dc04
committed
Add regression test for DROP OWNED BY with default ACLs
DROP OWNED BY has a specific code path to remove ACLs stored inpg_default_acl when cleaning up shared dependencies that had nocoverage with the existing tests. This issue has been found whiledigging into the bug fixed by 21378e1.As ALTER DEFAULT PRIVILEGES impacts the ACLs of all objects createdwhile the default permissions are visible, the test uses a transactionrollback to isolate the test and avoid any impact with other sessionsrunning in parallel.Reviewed-by: Álvaro HerreraDiscussion:https://postgr.es/m/YAbQ1OD+3ip4lRv8@paquier.xyz1 parent21378e1 commita36dc04
2 files changed
+49
-0
lines changedLines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1760 | 1760 |
| |
1761 | 1761 |
| |
1762 | 1762 |
| |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
1763 | 1792 |
| |
1764 | 1793 |
| |
1765 | 1794 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1049 | 1049 |
| |
1050 | 1050 |
| |
1051 | 1051 |
| |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1052 | 1072 |
| |
1053 | 1073 |
| |
1054 | 1074 |
| |
|
0 commit comments
Comments
(0)