"Tille, Andreas" <TilleA(at)rki(dot)de> writes:
> I dont know
> why the socket is created as /tmp/.s.PGSQL.5432 ?
That is the normal place for it. If you want it somewhere else, you
have to tell the postmaster so. Did you set UNIX_SOCKET_DIRECTORY
in postgresql.conf?
regards, tom lane