pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Blake Crosby <me@blakecrosby.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database Permissions
Date: Wed, 16 Apr 2003 13:34:59 -0500
Message-ID: <20030416183459.GA19826@wolff.to> (raw)
In-Reply-To: <75BD0F68-7038-11D7-854A-000A2791C8A8@blakecrosby.com>
References: <75BD0F68-7038-11D7-854A-000A2791C8A8@blakecrosby.com>

On Wed, Apr 16, 2003 at 14:23:02 -0400,
  Blake Crosby <me@blakecrosby.com> wrote:
> Hello,
> 
> Currently users who dont own a specific database can still create 
> tables in that database:
> 
> bcrosby=> \c fox
> You are now connected to database fox.
> fox=> create table testing (id serial);
> NOTICE:  CREATE TABLE will create implicit sequence 'testing_id_seq' 
> for SERIAL column 'testing.id'
> NOTICE:  CREATE TABLE / UNIQUE will create implicit index 
> 'testing_id_key' for table 'testing'
> CREATE
> 
> Is there any way around this? I am  using postgresql version 7.2. My 
> pg_hba.conf contains:

Not in 7.2. In 7.3 you can limit who can create schemas in a database and
who can create objects in a schema. There is also a separate control for
creating temporary tables in a database. This should let you do what you
want.




view thread (2+ messages)

Message-ID: <20030416183459.GA19826@wolff.to>
Permalink:  ../20030416183459.GA19826@wolff.to/
Also on:    postgresql.org/message-id/20030416183459.GA19826@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruno@wolff.to, me@blakecrosby.com
  Subject: Re: Database Permissions
  In-Reply-To: <20030416183459.GA19826@wolff.to>
  References: <75BD0F68-7038-11D7-854A-000A2791C8A8@blakecrosby.com> <20030416183459.GA19826@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox