| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump fails to set index ownership |
| Дата | |
| Msg-id | 25715.1125006976@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dump fails to set index ownership (Michael Fuhr <mike@fuhr.org>) |
| Ответы |
Re: pg_dump fails to set index ownership
|
| Список | pgsql-hackers |
Michael Fuhr <mike@fuhr.org> writes:
> Regarding the removal of ALTER INDEX OWNER commands from pg_dump,
> indexes are now restored with the wrong ownership if the user doing
> the restore is different than the user who owned the original index
pg_dump is not the source of the problem. We should instead arrange
that an index's relowner value is copied directly from the parent table
during CREATE INDEX. This is probably more important now with roles,
since GetUserId() might not have a lot to do with the table's owner ID.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера