Re: Granting Permissions to User To Access Database

Поиск
Список
Период
Сортировка
От Anthony E . Greene
Тема Re: Granting Permissions to User To Access Database
Дата
Msg-id 20010106210137.G3399@cp5340
обсуждение исходный текст
Ответ на Granting Permissions to User To Access Database  ("Kevin Schachter" <kevin@kevinity.com>)
Список pgsql-admin
On Sat, 06 Jan 2001 15:22:46 Kevin Schachter wrote:
>In MySQL you can grant a user select permissions to all tables in a
>database
>with the command "GRANT select on db.* to .....". Is there a similar way to
>accomplish this in Postgres? Reading up on GRANT I see that it only works
>for individual tables and not a full database.

The docs are correct on this -- you have to do it per table.

--
Anthony E. Greene <agreene@pobox.com> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>

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

Предыдущее
От: "Anthony E . Greene"
Дата:
Сообщение: Re: Listing users
Следующее
От: R D
Дата:
Сообщение: Re: Granting Permissions to User To Access Database