X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 082E2476342 for ; Wed, 16 Apr 2003 14:34:42 -0400 (EDT) Received: from wolff.to (wolff.to [66.93.249.74]) by postgresql.org (Postfix) with SMTP id 5C027476353 for ; Wed, 16 Apr 2003 14:34:38 -0400 (EDT) Received: (qmail 19849 invoked by uid 500); 16 Apr 2003 18:34:59 -0000 Date: Wed, 16 Apr 2003 13:34:59 -0500 From: Bruno Wolff III To: Blake Crosby Cc: pgsql-admin@postgresql.org Subject: Re: Database Permissions Message-ID: <20030416183459.GA19826@wolff.to> Mail-Followup-To: Blake Crosby , pgsql-admin@postgresql.org References: <75BD0F68-7038-11D7-854A-000A2791C8A8@blakecrosby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75BD0F68-7038-11D7-854A-000A2791C8A8@blakecrosby.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.0 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/244 X-Sequence-Number: 8399 On Wed, Apr 16, 2003 at 14:23:02 -0400, Blake Crosby 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.