Re: create table permissions bug for 7.3.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Evgeny Duzhakow <diabolo(at)philol(dot)msu(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: create table permissions bug for 7.3.2
Date: 2003-03-13 15:15:37
Message-ID: 4817.1047568537@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Evgeny Duzhakow <diabolo(at)philol(dot)msu(dot)ru> writes:
> Now connect and try to create the table:

> testtables=# \c - fake
> You are now connected as new user fake.
> testtables=> create table qq(i int);
> CREATE TABLE

Sure. You need to revoke CREATE access on the public schema (not the
same thing as the database) if you don't want user fake to create tables
in it. Or possibly you could remove the public schema altogether.
See the discussion of common usage patterns in the User's Guide chapter
about schemas.
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/ddl-schemas.html

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-03-13 15:36:19 Re: Optimizer bug in subselect/view
Previous Message Andrew Koshelev 2003-03-13 09:20:11 Optimizer bug in subselect/view