I am wondering if anyone was able to use PostgreSQL database via UNIX socket and user without password?
It seems that existing DSN format is wrong because it doesn’t allow empty password?
PostgreSQL: Documentation: 15: 34.1. Database Connection Control Functions says that
:password part should be optional:
postgresql://[userspec@][hostspec][/dbname][?paramspec] where userspec is: user[:password]
But maybe there is a workaround?