Re: Discrpency in the GRANT docs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Discrpency in the GRANT docs
Дата
Msg-id 16490.1196359506@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Discrpency in the GRANT docs  (Erik Jones <erik@myemma.com>)
Ответы Re: Discrpency in the GRANT docs
Список pgsql-general
Erik Jones <erik@myemma.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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Rodrigo De León"
Дата:
Сообщение: ERROR: failed to find conversion function from unknown to integer[]
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Discrpency in the GRANT docs