[pg-devel] Socket path

Stefan Scholl stesch at no-spoon.de
Sun Feb 6 18:22:00 UTC 2005


I was just wondering about the path of the unix domain socket. In
sysdep.lisp /var/run/postgresql is used. But the default path for
PostgreSQL's socket directory is /tmp.

I'd suggest to add a way to specify the directory (which is
called unix_socket_directory in postgresql.conf).

The function PQconnectdb() of libpg uses a path with leading "/"
in the host parameter.

But I'd prefer a special *pg-unix-socket-directory*.


More information about the pg-devel mailing list