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

From Andrus
Subject Error messages on duplicate schema names
Date
Msg-id ae2a7dc1-9d71-8cba-3bb9-e4cb7eb1f44e@hot.ee
Whole thread Raw
Responses Re: Error messages on duplicate schema names  (Michael Paquier <michael@paquier.xyz>)
List pgsql-general

Hi!

ALTER DEFAULT PRIVILEGES IN SCHEMA public,public   GRANT all ON TABLES TO testoig;

Throws strange error

Tuple already updated by self

In other case which I posted duplicate schema causes another strange error

duplicate key value violates unique constraint "pg_default_acl_role_nsp_obj_index"DETAIL: Key (defaclrole, defaclnamespace, defaclobjtype)=(30152, 186783649, r) already exists.

Should duplicate schema names accepted or should their usage throw better error messages.

Andrus.

pgsql-general by date:

Previous
From: Stephen Frost
Date:
Subject: Re: LDAP(s) doc misleading
Next
From: Rob Northcott
Date:
Subject: Keep needing to run manual analyze