Re: Error messages on duplicate schema names - Mailing list pgsql-general

From Michael Paquier
Subject Re: Error messages on duplicate schema names
Date
Msg-id YAebw/WH0t6YCd8S@paquier.xyz
Whole thread Raw
In response to Re: Error messages on duplicate schema names  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List 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

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Accounting for between table correlation
Next
From: Atul Kumar
Date:
Subject: upgrade using logical replication