Re: grant all privileges to all tables in a database

Поиск
Список
Период
Сортировка
От Florin Andrei
Тема Re: grant all privileges to all tables in a database
Дата
Msg-id 1113453202.8910.5.camel@rivendell.home.local
обсуждение исходный текст
Ответ на Re: grant all privileges to all tables in a database  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: grant all privileges to all tables in a database  (Hugo <htakada@gmail.com>)
Re: grant all privileges to all tables in a database  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-general
On Mon, 2005-04-11 at 03:28 +0200, Daniel Verite wrote:
>     Florin Andrei wrote:
>
> > On MySQL, it's enough to do this:
> >
> > GRANT ALL PRIVILEGES ON dbname.* TO username [IDENTIFIED BY 'password'];
> >
> > On PostgreSQL, you have to give it privileges not only to the database,
> > but to all components within (tables, sequences and whatnot). The
> > following three commands will grant those privileges, first to the
> > database, then to the tables, then to the sequences.
>
> In this case, why not let 'username' create the database and all its objects so
> that it will have all privileges on them afterwards without any specific GRANT
> required?

Those are not system accounts, just DB accounts.

--
Florin Andrei

http://florin.myip.org/


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

Предыдущее
От: Benjamin Reed
Дата:
Сообщение: Re: Postgresql 8.0.2 and Tiger?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql 8.0.2 and Tiger?