PostgreSQL: Documentation: 11: pg_restore
www.postgresql.org › docs › 11However, pg_restore will waste a connection attempt finding out that the server wants a password. In some cases it is worth typing -W to avoid the extra connection attempt.--role=rolename. Specifies a role name to be used to perform the restore. This option causes pg_restore to issue a SET ROLE rolename command after