Re: Permissions on large objects - db backup and restore

Поиск
Список
Период
Сортировка
От David Wall
Тема Re: Permissions on large objects - db backup and restore
Дата
Msg-id 515DB39C.70409@computer.org
обсуждение исходный текст
Ответ на Re: Permissions on large objects - db backup and restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 4/3/2013 5:57 PM, Tom Lane wrote:
> $ pg_restore -? ... -O, --no-owner skip restoration of object
> ownership ... So there you have it. pg_restore just restored all the
> objects (blobs and otherwise) as owned by the user running it. I
> should think you'd have had issues with other things besides the blobs
> by now. regards, tom lane

Thanks you!  Unsure why that -O was being used since when I check
version control, it's been in there since PG 8.3 days.  I hadn't checked
on its meaning and just assumed it was something to do with OIDs like
the pg_dump flags.  No doubt it solved something back then since TABLE
GRANTS could be run after a restore since before 9.0 the loids had no
permission issue to deal with.

Thanks again, Tom!  Best regards, David




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: CVE-2013-1899 security issue and limited IP addresses in pg_hba.conf
Следующее
От: Mads.Tandrup@schneider-electric.com
Дата:
Сообщение: Re: CVE-2013-1899 security issue and limited IP addresses in pg_hba.conf