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 1l6s83-0001m7-0D for pgsql-general@arkaria.postgresql.org; Tue, 02 Feb 2021 09:37:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l6s81-0006dd-OZ for pgsql-general@arkaria.postgresql.org; Tue, 02 Feb 2021 09:37:45 +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 1l6s81-0006dW-Dn for pgsql-general@lists.postgresql.org; Tue, 02 Feb 2021 09:37:45 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l6s7y-0005sk-E9 for pgsql-general@postgresql.org; Tue, 02 Feb 2021 09:37:44 +0000 Received: by mail-wm1-x32b.google.com with SMTP id j11so904218wmi.3 for ; Tue, 02 Feb 2021 01:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=nZvtvW+xqgVySqONMJKutPVl5dK0Rd7Kn9ZAlWKLwqo=; b=MIbc/M+cTNJbPPStQVYOZw1HphMAYA0p3+rvwaomYlRb67l0iKehUAR6n9yZ4EjFO8 QMep8B1DwdI6yNzafzwZsWxB/wmNMnG2eIU1J26i+HiByL64l7WLAO+NQKB9d5GDR1nF g7rKFmB8H1e/tR0y2+40eFTaCX8/E+RjnoBScD036hkyy+aeb8ND50iuzW/m6YtE9xLO ZtpiLHmv31fNTOpEV4PeMxMymuJQBnXjG+4DchKmZfWfJ1F8KYYq3hGChLo+dfsMZ9DA vcaTgkVcRXjcP5JBOHt730xSMcMux+rS3XOcWqmCNQ2q1N/0uT4ACgIsrZQD6odGvOd8 WY6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=nZvtvW+xqgVySqONMJKutPVl5dK0Rd7Kn9ZAlWKLwqo=; b=q/K9lU6zwIOVr1c1ZYpNxS9O5pXBrd5xVzPLVS+9xV+Xnsl3ZnmaGCAEoE78kXviA2 I6pqVUctDmx/YNYq6OLN3MkxPCzg1nlIci+UGhGmaYnVtDOoBrB7+6l0y3SRdOobdebn /7rcV34O5PAoZgrjlq5c9NlufilhTnwTniPNVX3SQjD+BzPgxyHgWC1FMZm+ynsqYyKT aKPITBW9DkA1U1TZztyvdEpjyNurw55Q36YNx4yqINL/9kCub0YrrRVC+O43G6Zr4ead iVQjFLa89VvNynzIMTobnd9MH3oDDh0eUs4I8VYhow3igEgIouKGSbpUSin6A/Z0Jje6 9v/Q== X-Gm-Message-State: AOAM5330TRwTyopJAE75IO7JlJED56caP33bjRumpVsoUi8/AFdHmnjO 9YGVjs3+F8Tq12cxl4v7bMirYg== X-Google-Smtp-Source: ABdhPJw6GhlwPmambpvFONaBn+PSq75zimIcd1uic2wPMrlfm4yAp7yYboksQqFZEItvH1ZZnR7X4Q== X-Received: by 2002:a1c:9c01:: with SMTP id f1mr2580842wme.159.1612258659874; Tue, 02 Feb 2021 01:37:39 -0800 (PST) Received: from localhost.localdomain (217-149-170-38.nat.highway.telekom.at. [217.149.170.38]) by smtp.gmail.com with ESMTPSA id m205sm1619322wmf.40.2021.02.02.01.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 01:37:39 -0800 (PST) Message-ID: Subject: Re: permission denied for large object 200936761 From: Laurenz Albe To: Andrus , Adrian Klaver , pgsql-general@postgresql.org Date: Tue, 02 Feb 2021 10:37:38 +0100 In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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