pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Andrus <kobruleht2@hot.ee>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@postgresql.org
Subject: Re: permission denied for large object 200936761
Date: Tue, 02 Feb 2021 10:37:38 +0100
Message-ID: <f1b313941d768ae1c19ed0a5629af845050b4c4a.camel@cybertec.at> (raw)
In-Reply-To: <ddd26ebf-b653-e6d1-c30c-f4b385031832@hot.ee>
References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee>
	<2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com>
	<08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee>
	<ed44153c97970e36d7f4266370fcb1d5110f2d91.camel@cybertec.at>
	<6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee>
	<6611d34f7f5ab443a6dbac4a188ba4a1f0ecf196.camel@cybertec.at>
	<ddd26ebf-b653-e6d1-c30c-f4b385031832@hot.ee>

On Tue, 2021-02-02 at 10:48 +0200, Andrus wrote:
> > 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 .

So?  What is your point?
Somebody created a large object of size 0.

Don't ask me who did it, ask the people who use this database.

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






view thread (27+ messages)  latest in thread

Message-ID: <f1b313941d768ae1c19ed0a5629af845050b4c4a.camel@cybertec.at>
Permalink:  ../f1b313941d768ae1c19ed0a5629af845050b4c4a.camel@cybertec.at/
Also on:    postgresql.org/message-id/f1b313941d768ae1c19ed0a5629af845050b4c4a.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, kobruleht2@hot.ee, adrian.klaver@aklaver.com
  Subject: Re: permission denied for large object 200936761
  In-Reply-To: <f1b313941d768ae1c19ed0a5629af845050b4c4a.camel@cybertec.at>
  References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee> <2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com> <08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee> <ed44153c97970e36d7f4266370fcb1d5110f2d91.camel@cybertec.at> <6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee> <6611d34f7f5ab443a6dbac4a188ba4a1f0ecf196.camel@cybertec.at> <ddd26ebf-b653-e6d1-c30c-f4b385031832@hot.ee> <f1b313941d768ae1c19ed0a5629af845050b4c4a.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox