Re: schema access privs

From: Vibhor Kumar <vibhor(dot)kumar(at)enterprisedb(dot)com>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: schema access privs
Date: 2011-04-04 21:12:30
Message-ID: C9FE0288-8B9C-446B-96CE-B3C9D34B0AA6@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Apr 5, 2011, at 2:31 AM, Ray Stell wrote:

> What does the results in col 'List of schemas Access privileges'
> indicate? Are those three results split by the '/' char? What
> are the three sections? What is 'postgres+'
>
> Can't find this explained in the docs.
>
> template1-# \dn+ pg_catalog
> List of schemas
> Name | Owner | Access privileges | Description
> ------------+----------+----------------------+-----------------------
> pg_catalog | postgres | postgres=UC/postgres+| system catalog schema
> | | =U/postgres |
> (1 row)

Following link contains detail about Access privileges:
http://www.postgresql.org/docs/8.4/static/sql-grant.html
r -- SELECT ("read")
w -- UPDATE ("write")
a -- INSERT ("append")
d -- DELETE
D -- TRUNCATE
x -- REFERENCES
t -- TRIGGER
X -- EXECUTE
U -- USAGE
C -- CREATE
c -- CONNECT
T -- TEMPORARY
arwdDxt -- ALL PRIVILEGES (for tables, varies for other objects)
* -- grant option for preceding privilege

/yyyy -- role that granted this privilege

Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor(dot)kumar(at)enterprisedb(dot)com
Blog:http://vibhork.blogspot.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2011-04-04 21:59:38 Re: scary xpath_table behaviour
Previous Message Tom Lane 2011-04-04 21:12:28 Re: scary xpath_table behaviour