Re: permission denied for large object 200936761

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andrus <kobruleht2(at)hot(dot)ee>, pgsql-general(at)postgresql(dot)org
Subject: Re: permission denied for large object 200936761
Date: 2021-02-01 19:59:53
Message-ID: 45dc661e-f277-566b-4c47-97b2f8710975@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/1/21 9:55 AM, Andrus wrote:
> Hi!
>
> >Large objects exist independent of those. The important part of the
> above is lomowner. Use that oid to find the role that owns the objects
> here:
>
> /select rolname from pg_roles where oid = 30152 ; //
> /
>
> returns my role ,  clusteradmin . I have superuser rights:
>
> CREATE ROLE clusteradmin WITH
>   LOGIN
>   SUPERUSER
>   INHERIT
>   NOCREATEDB
>   NOCREATEROLE
>   NOREPLICATION:
>
> GRANT db1_owner, db2_owner, ... to  clusteradmin;

Not sure what the above is supposed to be doing?

>
> It havent created any large objects.

What hasn't created large objects?

>
> How to use this information to fix the issue ?

Do the pg_dump as user clusteradmin.

>
> Andrus.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2021-02-01 20:07:26 Re: permission denied for large object 200936761
Previous Message Andrus 2021-02-01 17:55:28 Re: permission denied for large object 200936761