Re: Newbie question

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: Newbie question
Дата
Msg-id 1042555846.24625.6.camel@camel
обсуждение исходный текст
Ответ на Newbie question  (David <david@cnb.uam.es>)
Список pgsql-admin
On Tue, 2003-01-14 at 09:12, David wrote:
> How to grant a whole database for a certain user ?
> i mean:
> <mysql>
> grant usage on mydb.* to myuser identified by 'mypasswd'
> </mysql>
> Is available something similar with postgres or should i write a shell
> script, for example?
> Thank you very much!!!

You'll need to right a shell script or a server side function to do
this.

BTW - some people have talked about adding this feature in the past, and
I think that if the code were submitted it wouldn't be rejected, but
AFAIK the SQL standard doesn't support setting the privileges on more
than one table per command so it is low priority for the main
development team.

Robert Treat



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

Предыдущее
От: David
Дата:
Сообщение: Newbie question
Следующее
От: Vida Luz Arista
Дата:
Сообщение: Case Studio Postgresql