Re: [BUGS] BUG #14456: pg_dump doesn't restore permissions on tablesbelonging to an extension
В списке pgsql-bugs по дате отправления:
| От | Stephen Frost |
|---|---|
| Тема | Re: [BUGS] BUG #14456: pg_dump doesn't restore permissions on tablesbelonging to an extension |
| Дата | |
| Msg-id | 20170112192437.GR18360@tamriel.snowman.net обсуждение |
| Ответ на | Re: [BUGS] BUG #14456: pg_dump doesn't restore permissions on tables belonging to an extension (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-bugs |
* Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost <sfrost@snowman.net> writes: > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > >> Hmm. There's an argument to be made that ALTER EXTENSION ADD should > >> absorb whatever the object's current ACLs are into the pg_init_privs > >> entries for the extension. (I don't think it does that now, though > >> I might be wrong.) However ... > > > I've not gone and looked yet, but I doubt that it does. I think I can > > agree with the argument that it really should add those ACLs to > > pg_init_privs. Of course, any furhter manipulation of the ACLs from > > that point will cause those ACLs to be included in the pg_dump. > > > I'll take a look at ALTER EXTENSION ADD and pg_init_privs. > > By the same token, does ALTER EXTENSION DROP remove those entries? I'll make sure it does. My guess at the moment is that it doesn't. Thanks! Stephen
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера