Search Postgresql Archives

Re: permission denied for large object 200936761

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2021-02-01 at 18:32 +0200, Andrus wrote:
> > > Database does not contain large objects. 
> > > 
> > > pg_dump starts to throw error 
> > > 
> > > ERROR:  permission denied for large object 200936761 
> >  
> > Did you do the pg_dump as a superuser? 
> 
> No. 
> 
> pg_dump needs to be invoked by non-superuser also. It backs up two schemas, public and firma74 .

Obviously large objects *are* used.

You have to grant the database use permissions with

  GRANT SELECT ON LARGE OBJECT 200936761 TO dumpuser;

Alternatively, use the -B option of pg_dump to skip dumping
large objects.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux