I am using PostgreSQL 9.5.19.
I want to change the owner of some tables. All these tables are in the same database my_db
in the public
schema.
I have read the post Modify OWNER on all tables simultaneously in PostgreSQL.
Thanks to this post the operation succedeed but partially.
Most of the table are owned by postgres
user and not new_user
.
I tried to manually change the owner but it failed.