From: | "Tille, Andreas" <TilleA(at)rki(dot)de> |
---|---|
To: | PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Allow user to create tables |
Date: | 2002-05-08 07:34:38 |
Message-ID: | Pine.LNX.4.44.0205080931230.9220-100000@wr-linux02.rki.ivbb.bund.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 7 May 2002, Tom Lane wrote:
> "Tille, Andreas" <TilleA(at)rki(dot)de> writes:
> > I just created a database and granted all rights to the tables I created to
> > an additional user. I observed that this user does not have the right to
> > create additional tables.
>
> I think you have that backwards ;-). In PG you *cannot prevent* a user
> from being able to create tables.
>
> 7.3 will have permissions that control this, but no extant release does.
Sorry, forget about my previous mail which I claimed that PgAdmin2
was causing trouble.
~> whoami
databaseowner
~> psql test
...
test=# create table test (i int, t varchar(17) );
CREATE
test=# grant all on test to testuser ;
GRANT
test=# \q
~> su testuser
...
~> psql test
test=> drop table test;
ERROR: you do not own table "test"
Did I miss something?
Kind regards
Andreas.
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Beutin | 2002-05-08 09:21:43 | Fast statement but slow function |
Previous Message | Tille, Andreas | 2002-05-08 07:30:03 | PgAdmin2 trouble (Was: Allow user to create tables) |