Open
Description
Is your feature request related to a problem? Please describe.
I need a more fine grained way of configuring permissions.
Describe the solution you'd like
Both Postgres and PgBouncer allow controlling access to certain databases based on source and can require different kinds of authentication for them. This is especially useful in combination with UNIX sockets, where you can use trust
auth to allow connections to the socket. Or for example not allowing network access to the admin database (even if the password was leaked). Using the same file format would be preferable, to stay consistent with the ecosystem.