From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | codeWarrior <gpatnude(at)hotmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: GRANT on all tables? |
Date: | 2003-04-23 18:04:42 |
Message-ID: | 200304231804.h3NI4gm06534@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
codeWarrior wrote:
> GRANT ALL TO PUBLIC;
Uh, that doesn't work, and actually we don't have a global 'give all
permissions on all tables' capability.
>
>
> "dudsen" <dudsen(at)koen(dot)dk> wrote in message
> news:1050499026(dot)680723(at)kalvebod(dot)groenjord(dot)dk(dot)(dot)(dot)
> > How do I GRANT an user privileges for all tables in an database with one
> > command, as it is now i need to specify the name of each table.
> > I want to write something like
> > GRANT SELECT,INSERT ON mydatabase TO user; this doesn't work but are there
> a
> > way of getting someting similar to work?
> >
> > --
> > Daniel Udsen
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Vikas | 2003-04-23 18:15:36 | After restoring a database using pg_restore , cannot insert or update records in tables with primary keys |
Previous Message | sooraj | 2003-04-23 18:04:23 | psql not invoking ... |