Re: grant all the database object automatically

Поиск
Список
Период
Сортировка
От Mike G.
Тема Re: grant all the database object automatically
Дата
Msg-id 20050120053119.GA1433@thegodshalls.thegodshalls
обсуждение исходный текст
Ответ на grant all the database object automatically  (Akbar <melinda_sayang@hotpop.com>)
Список pgsql-novice
At the moment there is no way to globally grant or revoke permissions on all objects in a database.  It is on the
developerstodo list. 

On Thu, Jan 20, 2005 at 05:11:16PM +0700, Akbar wrote:
> How do I give all database object to another user so that user can do
> everything he wants?
>
> ALTER DATABASE blabla OWNER TO another_user;
> does not give what I want because that another user
> still does not have right to manipulate table inside
> database.
>
> Since there is no ALTER TABLE * blabla command ( see the * / wild card
> sign ), I alter table one by one so that another user can do some
> operation on those table.....
> Is there any easier way to do this.....?
>
> Ok, after this, what should I do to give database objects fully to
> another user beside tables?? Should I alter function, view??? Is there
> any tool or command to give all database objects to another user
> automatically?
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

В списке pgsql-novice по дате отправления:

Предыдущее
От: Akbar
Дата:
Сообщение: grant all the database object automatically
Следующее
От: "Mike G."
Дата:
Сообщение: Re: How to "COPY schema1.table TO schema2.table" ?