First, this patch is highly recommended. Right now error reporting is broken and when you have errors in *sql files you won't know about this. Unless you add this patch, that is:
Index: 00-database-procs-postgresql.tcl
===================================================================
RCS file: /cvsroot/openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl,v
retrieving revision 1.20
diff -u -r1.20 00-database-procs-postgresql.tcl
--- 00-database-procs-postgresql.tcl 2001/07/29 23:16:50 1.20
+++ 00-database-procs-postgresql.tcl 2001/08/17 01:02:52
@@ -636,8 +636,8 @@
}
if { $error_found } {
- global errorCode
- return -code error -errorinfo $error_lines -errorcode $errorCode
+ global errorCode errorInfo
+ return -code error -errorinfo $errorInfo -errorcode $errorCode $error_lines
}
}