I start an app which use a libpq function to read connection params in a URI. Until now, the app was using a tcp connection to connect to postgresql with this URI:
I want to switch and make the app connect to the unix socket instead. I am trying to figure out what would then be the correct URI, with no luck until now.
----------------------------
1- I modified the pg_hba.conf this way:
local mattermost mmuser peer map=mattermap -----------------