Re: permission denied for large object 200936761

From: Andrus <kobruleht2(at)hot(dot)ee>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: permission denied for large object 200936761
Date: 2021-02-01 22:20:45
Message-ID: 6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

>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.

I added -B option and changed postgresql.conf  to
lo_compat_privileges=on   as temporary fix.

dumpuser has created backups of same two schemas for years without
issues. The issue starts to occur today.

Application does not create large objects. It uses bytea columns instead.

How to figure out what is this large object ?

Andrus.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2021-02-01 22:28:26 Re: permission denied for large object 200936761
Previous Message Martín Marqués 2021-02-01 22:08:42 Re: vacuum is time consuming