PG 9.0 large object permissions - Mailing list pgsql-general

From Andy Colson
Subject PG 9.0 large object permissions
Date
Msg-id 4CA0DE99.1060406@squeakycode.net
Whole thread Raw
Responses Re: PG 9.0 large object permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all,

Having a little problem with my large objects.  In 8.4 the db owner was
'andy', but my web connected as payuser (which had appropriate permissions).

The backup/restore to pg9 made all the large objects owned by 'andy',
and I'm guessing payuser does not have select rights.

GRANT seems to support large objects, but only one at a time.
http://www.postgresql.org/docs/current/static/sql-grant.html

and ALTER DEFAULT PRIVILEGES seems to do many at a time, but doesnt to
large objects.

I really don't care if I get the owner changed or add r/w writes.  (I'd
prefer the owner, if I got to choose).

Any hints?  Please?

-Andy

pgsql-general by date:

Previous
From: Dave Page
Date:
Subject: Re: Database Cluster Initialisation Failed" error during PostgreSQL install
Next
From: Gurjeet Singh
Date:
Subject: Re: Preserving order through an inner join