Index: database.pgsql.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/database.pgsql.inc,v
retrieving revision 1.45
diff -u -r1.45 database.pgsql.inc
--- database.pgsql.inc	21 Apr 2007 18:08:41 -0000	1.45
+++ database.pgsql.inc	3 May 2007 17:57:24 -0000
@@ -70,7 +70,7 @@
   if (isset($url['pass'])) {
     $conn_string .= ' password='. urldecode($url['pass']);
   }
-  if (isset($url['host'])) {
+  if (isset($url['host']) && $url['host'] != 'unixsocket') {
     $conn_string .= ' host='. urldecode($url['host']);
   }
   if (isset($url['path'])) {