Error messages on duplicate schema names

Поиск
Список
Период
Сортировка
От Andrus
Тема Error messages on duplicate schema names
Дата
Msg-id ae2a7dc1-9d71-8cba-3bb9-e4cb7eb1f44e@hot.ee
обсуждение исходный текст
Ответы Re: Error messages on duplicate schema names  (Michael Paquier <michael@paquier.xyz>)
Список 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 по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: LDAP(s) doc misleading
Следующее
От: Rob Northcott
Дата:
Сообщение: Keep needing to run manual analyze