I want to change owner of all tables in one particular database using
REASSIGN OWNED BY postgres TO myuser
but it shows:
ERR
Because the postgres user owns system catalogs, you cannot reassign all objects owned by postgres. You will have to sort out this situation by hand in this case. In the future, avoid using postgres for non-administrative tasks.
postgres