On Tue, January 10, 2006 23:01, Luis Silva wrote:
>
> I found the file in /tmp/.s.PGSQL.5432
>
> How can I change the configuration to that location. TKS A LOT LOT

Set the "host" to /tmp (either by setting the environment variable PGHOST
or by adding "host=/tmp" to your connection string).  This behaviour is
built into the underlying libpq: if the "server hostname" starts with a
slash, the client connects to a local Unix-domain socket in the given
directory.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to