Index: openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/Attic/00-database-procs.tcl,v diff -u -r1.48 -r1.48.2.1 --- openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 25 Feb 2004 18:13:44 -0000 1.48 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 18 Mar 2004 16:51:46 -0000 1.48.2.1 @@ -2327,7 +2327,7 @@ cd [file dirname $file] if { $tcl_platform(platform) == "windows" } { - set fp [open "|[file join [db_get_pgbin] psql] -h [ns_info hostname] $pgport $pguser -f $file_name [db_get_database]" "r"] + set fp [open "|[file join [db_get_pgbin] psql] $pghost $pgport $pguser -f $file_name [db_get_database]" "r"] } else { set fp [open "|[file join [db_get_pgbin] psql] $pghost $pgport $pguser -f $file_name [db_get_database] $pgpass" "r"] } @@ -2462,7 +2462,7 @@ close $fd if { $tcl_platform(platform) == "windows" } { - set fp [open "|[file join [db_get_pgbin] psql] -f $copy_file -h [ns_info hostname] $pgport $pguser [db_get_database]" "r"] + set fp [open "|[file join [db_get_pgbin] psql] -f $copy_file $pghost $pgport $pguser [db_get_database]" "r"] } else { set fp [open "|[file join [db_get_pgbin] psql] -f $copy_file $pghost $pgport $pguser [db_get_database] $pgpass" "r"] }