Re: Upgrading from < 8.1 with users and groups with same name
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Upgrading from < 8.1 with users and groups with same name |
| Дата | |
| Msg-id | 7808.1135912813@sss.pgh.pa.us обсуждение |
| Ответ на | Upgrading from < 8.1 with users and groups with same name (Martin Pitt <martin@piware.de>) |
| Ответы |
Re: Upgrading from < 8.1 with users and groups with same name
|
| Список | pgsql-bugs |
Martin Pitt <martin@piware.de> writes:
> I recently got a rather interesting Debian bug [1]: When upgrading a
> pre-8.1 database to 8.1, the upgrade messes up permissions if the old
> database had users and groups with the same name. Since in 8.1 they
> get collapsed to a 'role' there will be a name clash.
I think the only real problem here is that the role ends up with
NOLOGIN set, which we could probably fix by reordering the commands;
but of course we can't do anything about dumps made with existing
versions of pg_dump.
> My current solution checks for this situation and aborts the upgrade
That seems like serious overkill.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера