Table owner change issue

From: Benjamin Patrick <benjamin(dot)patrick(at)ilwllc(dot)com>
To: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Table owner change issue
Date: 2024-11-21 20:42:23
Message-ID: MN2PR18MB346262E20C3F101F7C1A8324F4222@MN2PR18MB3462.namprd18.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I am using PGAdmin 4.8.8. New to the group and hoping this the correct group for assistance.
My instance is an AWS instance so there isn't a viable superuser.
I had a user create table with the table owner being themself. user.schema.tablename
I wanted to change the owner to the dbowner, but was unable in pgadmin or script. dbowner.schema.tablename
I had the user run a script to the change the table owner to the dbowner but the user received an error unable to set role. This occurred both in script and pgadmin.

The table owner was able to change to a mutual role that both the user and the dbowner are members. From there the dbowner was still unable to change the table owner to the dbowner.

Any assistance would be super helpful.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2024-11-21 20:54:18 Re: Table owner change issue
Previous Message Ron Johnson 2024-11-21 18:45:42 Re: Guidance Needed for PostgreSQL Upgrade from 12 to 15