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