Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C1FD74764B3 for ; Mon, 13 Jan 2003 17:59:57 -0500 (EST) Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id F25A6476476 for ; Mon, 13 Jan 2003 17:59:56 -0500 (EST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 129B8D605; Mon, 13 Jan 2003 14:59:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 085575C02; Mon, 13 Jan 2003 14:59:59 -0800 (PST) Date: Mon, 13 Jan 2003 14:59:58 -0800 (PST) From: Stephan Szabo To: Andrzej Kwiatkowski Cc: Subject: Re: Grants on creating tables.. In-Reply-To: <20030113225208.C13248@kwiatek.eu.org> Message-ID: <20030113145609.Q60991-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/133 X-Sequence-Number: 6975 On Mon, 13 Jan 2003, Andrzej Kwiatkowski wrote: > I've read that in postgres v 7.3 and above is possible to set > permissions for creating tables in given database... > > I've tried in many various ways, byt always given user can create > tables in database. If you remove the create permission from all of the schemas for the user they shouldn't be able to create non-temporary tables. On my empty 7.4 devel database, after doing REVOKE CREATE on SCHEMA public FROM public; a random non-superuser account on the database no longer can create tables (apart from temporary ones).