Index: openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl,v diff -u -r1.29 -r1.30 --- openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl 8 Dec 2001 01:17:59 -0000 1.29 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl 22 Dec 2001 18:58:06 -0000 1.30 @@ -664,7 +664,7 @@ # driver's wrong but a lot of non-OpenACS folks use it, and even though I'm the # maintainer we shouldn't break existing code over such trivialities... - if { [string equal [db_get_dbhost] "localhost"] } { + if { [string equal [db_get_dbhost] "localhost"] || [string equal [db_get_dbhost] ""] } { set pghost "" } else { set pghost "-h [db_get_dbhost]"