Construct socket name, according to the Postgres docs, and document as such.