From: | "Dan Wilson" <phpPgAdmin(at)acucore(dot)com> |
---|---|
To: | "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>, "Michael Fork" <mfork(at)toledolink(dot)com> |
Cc: | <pgsql-hackers(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Re: grant privileges to a database |
Date: | 2001-01-31 21:32:27 |
Message-ID: | 002101c08bcd$4f4f2f80$543987cf@corp.peoplesoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
You can do this in phpPgAdmin... it's a hack because it just pulls in all
the objects/relations and runs a single grant statement on them, but it
works. It puts together a query like the following:
GRANT ALL ON table1, table2, table3, view1, view2, sequence1, sequence2 TO
user
Which I suppose you can do manually if you don't have phpPgAdmin installed.
It ain't the prettiest, but it works!
-Dan
: El Mié 31 Ene 2001 15:53, Michael Fork escribió:
: > This is the closest thing to what you want:
: >
: > GRANT ALL ON table TO user;
: >
: > (see http://www.postgresql.org/users-lounge/docs/7.0/user/sql-grant.htm)
:
: Yes, I'm aware of that. That's why I'm asking for an opinion of the
: developers on this issue.
: I think it would be a nice feature, so that the postgres user creates the
: database and gives all kind of permissions on that database to another
user,
: which doesn't have to be able to create databases.
From | Date | Subject | |
---|---|---|---|
Next Message | Adam Haberlach | 2001-01-31 21:39:18 | Re: php as stored procedures |
Previous Message | Dan Wilson | 2001-01-31 21:29:11 | Re: php as stored procedures |
From | Date | Subject | |
---|---|---|---|
Next Message | Martin A. Marques | 2001-01-31 22:18:12 | Re: Re: grant privileges to a database |
Previous Message | Bruce Momjian | 2001-01-31 20:43:32 | SF company wants to hire pgsql hacker |