Error messages on duplicate schema names
Andrus <kobruleht2@hot.ee>
From: Andrus <kobruleht2@hot.ee>
To: pgsql-general@postgresql.org
Date: 2021-01-06T17:15:24Z
Lists: 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.
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