| От | Tom Lane |
|---|---|
| Тема | Re: How to change table owner? |
| Дата | |
| Msg-id | 7919.1039448139@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | How to change table owner? (Anders Bogdan <anders@theworks.org>) |
| Ответы |
Re: How to change table owner?
|
| Список | pgsql-admin |
Anders Bogdan <anders@theworks.org> writes:
> I've created and deployed a number of databases and am now getting
> around to adding some table maintenance (a vacuum script). But, the
> script can't run as the "postgres" user. It runs as a defined db user
> "admin".. Unfortunately, in my db schema the tables are owned by
> postgres and my script doesn't have permission to vacuum.
Make "admin" a postgres superuser. (I think "ALTER USER admin CREATEUSER"
is the approved way to do this.)
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера