Re: pg_dump fails to set index ownership
| От | Michael Fuhr |
|---|---|
| Тема | Re: pg_dump fails to set index ownership |
| Дата | |
| Msg-id | 20050111034317.GA8210@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | pg_dump fails to set index ownership (Michael Fuhr <mike@fuhr.org>) |
| Ответы |
Re: pg_dump fails to set index ownership
|
| Список | pgsql-bugs |
On Mon, Jan 10, 2005 at 07:28:52PM -0700, Michael Fuhr wrote: > pg_dump fails to set ownership on indexes. Is this a bug in pg_dump, or is it perhaps a bug in CREATE INDEX? Is there any reason CREATE INDEX shouldn't set the index owner to be the same as the table owner? For pg_dump's part, it's issuing ALTER TABLE OWNER TO immediately after creating the table but before populating it and creating the indexes. If ALTER TABLE OWNER TO were issued after creating the indexes then the ownership would cascade to the indexes. Or pg_dump could issue ALTER INDEX OWNER TO statements after creating the indexes. -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-bugs по дате отправления: