Keeping Admin-Owner user but creating new user with effectiveAdmin-Owner access rights? - Mailing list pgsql-general

From AC Gomez
Subject Keeping Admin-Owner user but creating new user with effectiveAdmin-Owner access rights?
Date
Msg-id CABtmK-hpCxQsdjho4T0jg50kGijG28TmQXaSdZTtOBVL_NZ5aA@mail.gmail.com
Whole thread Raw
Responses Re: Keeping Admin-Owner user but creating new user with effectiveAdmin-Owner access rights?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general

We have the following scenario...

We've inherited a situation where we have a master admin user that's used across the board for all processes.

We need to undo that one process at a time. So, for each process we thought of creating two secondary users, among which we will rotate a password.

However, since a PostgreSQL Db cannot have more than one owner then these secondary users cannot act on the DB objects the same way, that is our understanding.

The question is, if a DB already has an owner that we want to keep as the owner for now, can we create an equivalent user that will effectively have the same behaviour as the owner while not being the owner?

And, will any objects created by this new user be fully accessible by the original master user?

Thanks

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mixed Locales and Upgrading
Next
From: Adrian Klaver
Date:
Subject: Re: Order by and timestamp SOLVED