| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was |
| Date: | 2005-03-26 06:35:20 |
| Message-ID: | 11051.1111818920@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Fuhr | 2005-03-26 06:55:08 | Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was |
| Previous Message | Christopher Kings-Lynne | 2005-03-26 06:30:13 | Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Fuhr | 2005-03-26 06:55:08 | Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was |
| Previous Message | Christopher Kings-Lynne | 2005-03-26 06:30:13 | Re: [COMMITTERS] pgsql: Fix two bugs in change_owner_recurse_to_sequences: |