Index: openacs-4/packages/dotlrn-homework/tcl/dotlrn-homework-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-homework/tcl/dotlrn-homework-procs-postgresql.xql,v diff -u -r1.6 -r1.7 --- openacs-4/packages/dotlrn-homework/tcl/dotlrn-homework-procs-postgresql.xql 13 Jan 2005 13:57:29 -0000 1.6 +++ openacs-4/packages/dotlrn-homework/tcl/dotlrn-homework-procs-postgresql.xql 8 Aug 2006 21:26:36 -0000 1.7 @@ -25,7 +25,8 @@ :user_id, :creation_ip, :indb_p, - :file_id + :file_id, + :package_id ); @@ -64,7 +65,7 @@ update cr_revisions - set content_length = length(content) + set content_length = lob_length(lob) where revision_id = :revision_id