On Wednesday, February 28, 2024, Siraj G <tosiraj(dot)g(at)gmail(dot)com> wrote:
>
> Since I am trying to restore, I believe the user should have
> pg_write_system_files role, hence trying to grant it.
>
Restoring a backup does not require the client connection to access the
server’s filesystem - all data is passed over the client connection.
David J.