Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tnqnx-0007pu-HW for pgsql-admin@arkaria.postgresql.org; Wed, 26 Dec 2012 13:13:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tnqnw-0003vH-11 for pgsql-admin@arkaria.postgresql.org; Wed, 26 Dec 2012 13:13:52 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlzal-0007tX-Mg for pgsql-admin@postgresql.org; Fri, 21 Dec 2012 10:12:35 +0000 Received: from hub.ringways.co.uk ([77.86.27.30] helo=mail.ringways.co.uk) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlzaj-0004Nm-G7 for pgsql-admin@postgresql.org; Fri, 21 Dec 2012 10:12:34 +0000 Received: from localhost ([127.0.0.1] helo=mail.ringways.co.uk) by mail.ringways.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1Tlzac-0007p2-HF; Fri, 21 Dec 2012 10:12:28 +0000 Received: from eddie.ringways.co.uk ([10.1.1.115] helo=eddie.ringways.co.uk) by mail.ringways.co.uk with ESMTP id qACMEuKr82078; Fri, 21 Dec 2012 10:12:22 +0000 From: Gary Stainburn Organization: Ringways Garages Ltd To: Ray Stell Subject: Re: create role? Date: Fri, 21 Dec 2012 10:12:24 +0000 User-Agent: KMail/1.9.10 Cc: pgsql-admin@postgresql.org References: <202373801.1595767.1356014722327.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <201212201522.36902.gary.stainburn@ringways.co.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201212211012.24124.gary.stainburn@ringways.co.uk> X-SpamTest-Envelope-From: gary.stainburn@ringways.co.uk X-SpamTest-Info: Profiles 20401 [Mar 31 2011] X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0285], KAS30/SDK/Release X-Anti-Virus: Kaspersky Mail Gateway, version: 5.6.28/RELEASE, bases: 20110331T110535 #5151353, check: 20121221 clean X-Spam-Score: -51.6 (---------------------------------------------------) X-Spam-Report: Spam detection software, running on the system "ollie.ringways.co.uk", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see Gary Stainburn for details. Content preview: On Thursday 20 December 2012 18:30:24 Ray Stell wrote: > I'm not really that lazy, I was just stuck in the oracle world view (grant > priv to user). Your search strings don't fit in that logic. It looks > like sys privs are never provided by grant, rather create or alter. Hmm, > sans CONNECT, which seems rather system priv to me. MIght make for a handy > additional comment to > http://www.postgresql.org/docs/9.2/static/sql-grant.html 'For system > privileges see "ALTER ROLE."' [...] Content analysis details: (-51.6 points, 15.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -50 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 1.0 RING_SAFE RING_SAFE X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Thursday 20 December 2012 18:30:24 Ray Stell wrote: > I'm not really that lazy, I was just stuck in the oracle world view (grant > priv to user). Your search strings don't fit in that logic. It looks > like sys privs are never provided by grant, rather create or alter. Hmm, > sans CONNECT, which seems rather system priv to me. MIght make for a handy > additional comment to > http://www.postgresql.org/docs/9.2/static/sql-grant.html 'For system > privileges see "ALTER ROLE."' Think of a role as permissions to do tasks whereas grant gives you access to objects. You are granted permission to a table/view etc. Your role is to create other users, or create databases I don't know any database system other than Postgresql so I don't know how it compares to Oracle -- Gary Stainburn Group I.T. Manager Ringways Garages http://www.ringways.co.uk -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin