Re: Error messages on duplicate schema names
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Andrus <kobruleht2@hot.ee>, pgsql-general@postgresql.org
Date: 2021-01-20T02:56:03Z
Lists: pgsql-general
On Tue, Jan 19, 2021 at 05:37:51PM -0300, Alvaro Herrera wrote: > I guess you could make the case that the CCI call should be in the > callers where we actually loop (SetDefaultACLsInSchemas, > RemoveRoleFromObjectACL), but it's hard to get excited about the added > clutter. Yeah, that matches my thoughts. And I did not see any harm in putting the CCI in SetDefaultACL() even for the case of pg_default_acl with DROP OWNED BY. So applied and backpatched. Thanks, Alvaro and Andrus. -- Michael
Commits
-
Fix ALTER DEFAULT PRIVILEGES with duplicated objects
- 0ddb529cf3e2 9.5.25 landed
- 7dc3be9df86c 9.6.21 landed
- 74ee3abcfefa 10.16 landed
- 1c3a4d44d844 11.11 landed
- 5ad672fc2f65 12.6 landed
- 31e0f9d76bb0 13.2 landed
- 21378e1fefed 14.0 landed