pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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: Mon, 1 Feb 2021 19:55:28 +0200
Message-ID: <eff2a916-379c-128c-0f62-e229fa4b8716@hot.ee> (raw)
In-Reply-To: <0cf7c8fe-00fb-0998-d372-d5545234572f@aklaver.com>
References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee>
	<2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com>
	<08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee>
	<f4bf75cc-cb4a-9154-4189-2ae8e539ccf9@aklaver.com>
	<6e8bd48a-9c0b-e045-05ee-1cbe334b2bba@hot.ee>
	<0cf7c8fe-00fb-0998-d372-d5545234572f@aklaver.com>

Hi!

 >Large objects exist independent of those. The important part of the 
above is lomowner. Use that oid to find the role that owns the objects 
here:

/select rolname from pg_roles where oid = 30152 ; //
/

returns my role ,  clusteradmin . I have superuser rights:

CREATE ROLE clusteradmin WITH
   LOGIN
   SUPERUSER
   INHERIT
   NOCREATEDB
   NOCREATEROLE
   NOREPLICATION:

GRANT db1_owner, db2_owner, ... to  clusteradmin;

It havent created any large objects.

How to use this information to fix the issue ?

Andrus.

view thread (27+ messages)  latest in thread

Message-ID: <eff2a916-379c-128c-0f62-e229fa4b8716@hot.ee>
Permalink:  ../eff2a916-379c-128c-0f62-e229fa4b8716@hot.ee/
Also on:    postgresql.org/message-id/eff2a916-379c-128c-0f62-e229fa4b8716@hot.ee

 · 

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: kobruleht2@hot.ee, adrian.klaver@aklaver.com
  Subject: Re: permission denied for large object 200936761
  In-Reply-To: <eff2a916-379c-128c-0f62-e229fa4b8716@hot.ee>
  References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee> <2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com> <08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee> <f4bf75cc-cb4a-9154-4189-2ae8e539ccf9@aklaver.com> <6e8bd48a-9c0b-e045-05ee-1cbe334b2bba@hot.ee> <0cf7c8fe-00fb-0998-d372-d5545234572f@aklaver.com> <eff2a916-379c-128c-0f62-e229fa4b8716@hot.ee>

* 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