Index: openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql,v
diff -u -r1.27 -r1.28
--- openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	22 Feb 2002 20:53:33 -0000	1.27
+++ openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	15 May 2002 15:37:05 -0000	1.28
@@ -323,7 +323,7 @@
     raise exception ''int_to_tree_key: key must be a positive integer'';
   end if;
 
-  if p_intkey < 2^7 then
+  if p_intkey < 128 then
     return substring(bitfromint4(p_intkey), 25, 8);
   else
     return substring(bitfromint4(-2^31 + p_intkey), 1, 32);
