From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: Ray Stell <stellr@vt.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: create role?
Date: Fri, 21 Dec 2012 10:12:24 +0000
Message-ID: <201212211012.24124.gary.stainburn@ringways.co.uk> (raw)
In-Reply-To: <F873AF0B-B432-4B73-88CE-8D2361F2E345@vt.edu>
References: <202373801.1595767.1356014722327.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
<201212201522.36902.gary.stainburn@ringways.co.uk>
<F873AF0B-B432-4B73-88CE-8D2361F2E345@vt.edu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
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
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: gary.stainburn@ringways.co.uk, stellr@vt.edu
Subject: Re: create role?
In-Reply-To: <201212211012.24124.gary.stainburn@ringways.co.uk>
* 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