Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6bRM-0007f7-LL for pgsql-general@arkaria.postgresql.org; Mon, 01 Feb 2021 15:48:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6bRL-0003HD-FX for pgsql-general@arkaria.postgresql.org; Mon, 01 Feb 2021 15:48:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6aQY-0003Gt-Hl for pgsql-general@lists.postgresql.org; Mon, 01 Feb 2021 14:43:42 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6aQV-0004mU-G8 for pgsql-general@postgresql.org; Mon, 01 Feb 2021 14:43:41 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id A25AD1C27 for ; Mon, 1 Feb 2021 16:43:35 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Upd1bECdd-iT for ; Mon, 1 Feb 2021 16:43:33 +0200 (EET) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 71B261AFD for ; Mon, 1 Feb 2021 16:43:33 +0200 (EET) To: pgsql-general@postgresql.org From: Andrus Subject: permission denied for large object 200936761 Message-ID: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee> Date: Mon, 1 Feb 2021 16:43:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C0493F135AAB86729C3807FE" Content-Language: et List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------C0493F135AAB86729C3807FE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi! Database does not contain large objects. pg_dump starts to throw error ERROR:  permission denied for large object 200936761 Tried select * from "200936761" but it returned "relation does not exist" How to fix this ? How to find which table causes this error ? How to find and delete all large objects in database ? Maybe it is created accidently . Using  PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit Andrus. --------------C0493F135AAB86729C3807FE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi!

Database does not contain large objects.

pg_dump starts to throw error

ERROR:  permission denied for large object 200936761

Tried

select * from "200936761"

but it returned "relation does not exist"

How to fix this ? How to find which table causes this error ?

How to find and delete all large objects in database ? Maybe it is created accidently .

Using

 PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit

Andrus.

--------------C0493F135AAB86729C3807FE--