The following patch allow users to configure the Unix domain socket path, using the...
authorDave Page <dpage@pgadmin.org>
Wed, 2 Mar 2005 15:11:09 +0000 (15:11 +0000)
committerDave Page <dpage@pgadmin.org>
Wed, 2 Mar 2005 15:11:09 +0000 (15:11 +0000)
commit5abeecac53e1761ab44c3554b4ea38ccbf4da80f
tree12962c35953f3ac0aaf4b4824b18d49300e29a92
parent85f3e7452abcee72af1ff504d04dceb8c68463a1
The following patch allow users to configure the Unix domain socket path, using the "Uds" property.
I took some code from the unixODBC PG driver and performed the necessary adjustments.
Please note that unlike unixODBC, I have followed the current convention, which means that:
1) "Uds" is considered only if "Servername" is empty.
2) Default path is "/tmp".
3) The provided path should point the folder that comtains the UDS node.
[Ramon Danieli]
connection.c
connection.h
dlg_specific.c
dlg_specific.h
socket.c
socket.h