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 1l6rMZ-0007i0-4m for pgsql-general@arkaria.postgresql.org; Tue, 02 Feb 2021 08:48:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6rMY-0003ZZ-4F for pgsql-general@arkaria.postgresql.org; Tue, 02 Feb 2021 08:48:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6rMX-0003ZS-T7 for pgsql-general@lists.postgresql.org; Tue, 02 Feb 2021 08:48:41 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6rMV-00072G-FF for pgsql-general@postgresql.org; Tue, 02 Feb 2021 08:48:41 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 443EC1D5A; Tue, 2 Feb 2021 10:48:38 +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 3NoPUA2iKxYi; Tue, 2 Feb 2021 10:48:36 +0200 (EET) Received: from mail.hot.ee (hot-relayhost3.estpak.ee [213.180.2.81]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 0E8971D5B; Tue, 2 Feb 2021 10:48:36 +0200 (EET) Subject: Re: permission denied for large object 200936761 To: Laurenz Albe , Adrian Klaver , pgsql-general@postgresql.org References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee> <2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com> <08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee> <6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee> <6611d34f7f5ab443a6dbac4a188ba4a1f0ecf196.camel@cybertec.at> From: Andrus Message-ID: Date: Tue, 2 Feb 2021 10:48:28 +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 In-Reply-To: <6611d34f7f5ab443a6dbac4a188ba4a1f0ecf196.camel@cybertec.at> Content-Type: multipart/alternative; boundary="------------D2BCF6612628FDA2A266F61B" 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. --------------D2BCF6612628FDA2A266F61B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi! You can extract it with > \lo_export 200936761 'somefile' > > in psql and examine the file. > > Ask the people who use that database! Tried root@c202-76:~# ./pgsqlkaiv.sh psql (12.2 (Debian 12.2-2.pgdg100+1)) Type "help" for help. sba=#  \lo_export 200936761 'large200936761' lo_export sba=# \q root@c202-76:~# ls -l large* -rw-r--r-- 1 root root 0 veebr  2 10:45 large200936761 result file size is 0 . Andrus. --------------D2BCF6612628FDA2A266F61B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi!

You can extract it with
 \lo_export 200936761 'somefile'

in psql and examine the file.

Ask the people who use that database!

Tried

root@c202-76:~# ./pgsqlkaiv.sh

psql (12.2 (Debian 12.2-2.pgdg100+1))
Type "help" for help.

sba=#  \lo_export 200936761 'large200936761'
lo_export
sba=# \q

root@c202-76:~# ls -l large*
-rw-r--r-- 1 root root 0 veebr  2 10:45 large200936761

result file size is 0 .

Andrus.

--------------D2BCF6612628FDA2A266F61B--