| От | Tom Lane |
|---|---|
| Тема | Re: non-existent user "28" |
| Дата | |
| Msg-id | 28355.985274601@sss.pgh.pa.us обсуждение |
| Ответ на | non-existent user "28" ("Tamsin" <tg_mail@bryncadfan.co.uk>) |
| Список | pgsql-general |
"Tamsin" <tg_mail@bryncadfan.co.uk> writes:
> I'm not sure how the database got in this state - would this happen when I
> drop & recreate a user?
Yes. There's no crosscheck to see if you still have active GRANTs for
the user being deleted. (Which is bad but that's how it is at the moment.)
> Is there something I can do about this? I couldn't
> see where in the system tables the permission info is stored.
relacl column of pg_class.
My advice would just be to ignore the errors on restore... that's about
the easiest way to get rid of the dead grants while keeping the good ones.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера