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.2.4 -r1.48.2.5 --- openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 17 Apr 2004 21:31:54 -0000 1.48.2.4 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 23 Apr 2004 13:39:46 -0000 1.48.2.5 @@ -1769,7 +1769,7 @@ } elseif { [string equal $command "blob_dml_file"] } { # PostgreSQL: - db_with_handle db { + db_with_handle -dbn $dbn db { # another ugly hack to avoid munging tcl files. # __lob_id needs to be set inside of a query (.xql) file for this # to work. Say for example that you need to create a lob. In @@ -1798,7 +1798,7 @@ } else { # PostgreSQL: - db_with_handle db { + db_with_handle -dbn $dbn db { db_exec dml $db $full_statement_name $sql } }