From: | Erik Jones <erik(at)myemma(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Discrpency in the GRANT docs |
Date: | 2007-11-29 18:15:03 |
Message-ID: | 3AD65FF0-E575-40BB-8257-D35813619612@myemma.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Nov 29, 2007, at 12:05 PM, Tom Lane wrote:
> Erik Jones <erik(at)myemma(dot)com> writes:
>> I just noticed this. In the section of the page, near the end, that
>> describes the access privileges display generated by psql's \z (which
>> come from pg_class.relacl) there is the following:
>
>> /yyyy -- user who granted this privilege
>
>> That's not the case. What get's listed there is the current owner of
>> the table (at least in 8.2).
>
> Your test case does not show that. I think you missed this paragraph:
>
> : If a superuser chooses to issue a GRANT or REVOKE command, the
> command
> : is performed as though it were issued by the owner of the affected
> : object. In particular, privileges granted via such a command will
> appear
> : to have been granted by the object owner. (For role membership, the
> : membership appears to have been granted by the containing role
> itself.)
>
> regards, tom lane
Ah, thanks, I did miss that one.
Erik Jones
Software Developer | Emma®
erik(at)myemma(dot)com
800.595.4401 or 615.292.5888
615.292.0777 (fax)
Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2007-11-29 18:45:39 | Re: PostgresSQL vs. Informix |
Previous Message | Tom Lane | 2007-11-29 18:05:06 | Re: Discrpency in the GRANT docs |