-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Description
In this doc page: https://docs.rs/postgres/0.18.1/postgres/config/struct.Config.html
The examples mentioning a unix socket connection use the /var/lib/postgresql as the location where a postgres unix socket would be. However, it seems to me that this location is actually very unlikely.
Apparently, the default location of the socket, if building PG from source, is /tmp. But many distros change this to /var/run/postgresql instead (https://www.postgresql.org/message-id/[email protected]). So it seems that the most likely location a new user of this crate would need to input, if he wants to use the unix socket, would be /var/run/postgresql. I suggest changing this in the doc page.
Metadata
Metadata
Assignees
Labels
No labels