Re: Newbie question

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: David <david(at)cnb(dot)uam(dot)es>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Newbie question
Date: 2003-01-14 14:50:46
Message-ID: 1042555846.24625.6.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tim Ellis 2003-01-14 15:31:57 Re: Case Studio Postgresql
Previous Message David 2003-01-14 14:12:33 Newbie question