Index: openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql,v diff -u -r1.27 -r1.28 --- openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql 25 Jul 2002 20:05:38 -0000 1.27 +++ openacs-4/packages/file-storage/tcl/file-storage-procs-postgresql.xql 26 Jul 2002 01:01:21 -0000 1.28 @@ -44,7 +44,7 @@ --- we use $n_past-days instead of :n_past_days becasuse he pgdriver +-- we use $ n_past-days instead of :n_past_days becasuse he pgdriver -- bind variable emulation puts single-quotes around the n_past_days -- integer. Postgresql tries to turn '-1' into a date datatype -- so now()-'-1' fails but now()- -1 works fine.