From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: GRANT all to a super user |
Date: | 2009-05-27 14:27:34 |
Message-ID: | 162867790905270727s812e4edt55d76c03a334cd5e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello
there are not similar statement
if you would to grant rights to more database objects, you have to use
script or stored procedure.
regards
Pavel Stehule
2009/5/27 Gauthier, Dave <dave(dot)gauthier(at)intel(dot)com>:
> What is the (is there a) grant command that I can use to create a super user
> without having to specify all the DB objects?
>
>
>
> grant all on database foo to thesuper;
>
> and
>
> grant all privileges on database foo to thesuper;
>
>
>
> Don’t work.
>
>
>
> I know I can achieve what I want by submitting a grant for each and every
> object in the DB. But is there a way to do it all with one command, maybe
> something like...
>
>
>
> “grant all privileges on everything to thesuper” ?
>
>
>
> Thanks
>
> -dave
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gould | 2009-05-27 14:30:34 | Re: GRANT all to a super user |
Previous Message | Merlin Moncure | 2009-05-27 14:19:21 | Re: How to Install Postgres 8.3 in Solaris 10 as a service |