Index: openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql,v diff -u -r1.1.1.3 -r1.1.1.4 --- openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql 25 Jul 2002 20:06:15 -0000 1.1.1.3 +++ openacs.org-dev/packages/file-storage/tcl/file-storage-procs-postgresql.xql 31 Jul 2002 16:31:15 -0000 1.1.1.4 @@ -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.