Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was
Дата
Msg-id 11051.1111818920@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences:  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> I assume that this behaviour makes change owner on a table change owner 
> of serial sequences?

Yeah.

> Should we perhaps also propagate grant insert on a table to grant 
> select, update on dependent serial sequences?

Doesn't really follow.  That code is maintaining an invariant: the owner
of a table owns the associated indexes, toast table, sequences, etc.
There's no system-wide assumption that sequence privileges track table
privileges.
        regards, tom lane


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences:
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was