X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6166952BC5 for ; Wed, 17 Aug 2005 13:01:52 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 37192-05 for ; Wed, 17 Aug 2005 16:01:49 +0000 (GMT) Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by svr1.postgresql.org (Postfix) with ESMTP id 64FC752AC1 for ; Wed, 17 Aug 2005 13:01:48 -0300 (ADT) Received: from lfix.demon.co.uk ([80.177.205.209] helo=cerberus.lfix.co.uk) by anchor-post-34.mail.demon.net with esmtp (Exim 4.42) id 1E5QME-000Puq-Cx; Wed, 17 Aug 2005 16:01:39 +0000 Received: from linda.lfix.co.uk ([192.168.1.1]) by cerberus.lfix.co.uk with esmtp (Exim 4.50) id 1E5QM3-000671-9l; Wed, 17 Aug 2005 17:01:27 +0100 Subject: Re: GRANT ALL PRIVILEGES ON DATABASE From: Oliver Elphick Reply-To: olly@lfix.co.uk To: Andrew Gold Cc: pgsql-admin@postgresql.org In-Reply-To: <4303592A.4070501@cbamedia.com> References: <430271C8.8030909@cbamedia.com> <1124236833.12095.101.camel@linda> <4303592A.4070501@cbamedia.com> Content-Type: text/plain Organization: LFIX Limited Date: Wed, 17 Aug 2005 17:01:27 +0100 Message-Id: <1124294487.12095.133.camel@linda> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-LFIX-MailScanner: Found to be clean X-LFIX-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60) X-LFIX-MailScanner-From: olly@lfix.co.uk X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.052 required=5 tests=[AWL=0.002, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/222 X-Sequence-Number: 18541 On Wed, 2005-08-17 at 08:35 -0700, Andrew Gold wrote: > Actually, I read the GRANT man page several times; what you state so > clearly and simply, isn't described so plainly in that document. > > I posted because I found the GRANT man page deficient. > > Strictly speaking the GRANT man page indicated the following: > > -----------------begin quote--------------------------- > ALL PRIVILEGES > > Grant all of the privileges applicable to the object at once. The > PRIVILEGES key word is optional in PostgreSQL, though it is required by > strict SQL. > > -------------------end quote--------------------------- > > This followed a series of descriptions of various privileges (select, > insert, update, etc.). From the context of the description, it appears > that "GRANT ALL PRIVILEGES" bestows all of the preceding rights on the > recipient user. > > It is not at all intuitive that "GRANT ALL PRIVILEGES" gives a user the > right to create schemas and temporary tables, and that alone. You missed the bit where it describes what privileges apply to various kinds of object. > Whether you meant it or not, your initial comment came across as > patronizing. Sorry about that. -- Oliver Elphick olly@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA ======================================== Do you want to know God? http://www.lfix.co.uk/knowing_god.html