Need help - Unable to grant a role - Mailing list pgsql-admin

From Siraj G
Subject Need help - Unable to grant a role
Date
Msg-id CAC5iy62S_j4km2cFtXUaoGGb6MqXhsZc_wYueRkCpxb9q5Lb_g@mail.gmail.com
Whole thread Raw
Responses Re: Need help - Unable to grant a role
Re: Need help - Unable to grant a role
List pgsql-admin
Hello!

I have a PgSQL 15.4 database newly created. I created a user and is using it to restore a backup of another database, but unable to do so as it is failing with the below error:
Error: role 'hd*********' does not exist.

I even tried to grant pg_read_system_files and pg_write_system_files roles, even then I am getting the same error.

Can someone please advise me on what I should do?

Regards
Siraj

pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Backup strategy
Next
From: Erik Wienhold
Date:
Subject: Re: Need help - Unable to grant a role