Use pg_roles instead of pg_authid. (#40)
The user in connection must have a superuser role to access the pg_authid table, which may not be possible for managed services. The fix here is to use publicly readable view pg_roles https://www.postgresql.org/docs/current/view-pg-roles.html.
parent
d213e107
Please register or sign in to comment