Re: Permissions on large objects - db backup and restore - Mailing list pgsql-general

From David Wall
Subject Re: Permissions on large objects - db backup and restore
Date
Msg-id 515DB39C.70409@computer.org
Whole thread Raw
In response to Re: Permissions on large objects - db backup and restore  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CVE-2013-1899 security issue and limited IP addresses in pg_hba.conf
Next
From: Mads.Tandrup@schneider-electric.com
Date:
Subject: Re: CVE-2013-1899 security issue and limited IP addresses in pg_hba.conf