Re: Fixing pg_dump

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Fixing pg_dump
Дата
Msg-id 40DF9614.5050502@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Fixing pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Yeah, that's still on my should-fix-for-7.5 list (and I think Fabien was
> going to, or already did, submit some ACL-hacking code to help).  That
> is, ALTER OWNER should adjust the ACL so that grants made by/to the
> former owner now appear to be by/to the new owner.
> 
> However, there's still the problem that a dump from a 7.4 or older
> database might exhibit the inconsistent ACL entries.  Not very sure
> how to cope ...

How about "if the grant is to user blah, from user blah and blah is not 
the owner of the object, grant as default user, not user blah"?

Chris



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

Предыдущее
От: Satoshi Nagayasu
Дата:
Сообщение: lock timeout patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: lock timeout patch