Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql,v
diff -u -N -r1.19 -r1.20
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql	8 Jun 2001 01:52:31 -0000	1.19
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql	9 Jun 2001 01:06:04 -0000	1.20
@@ -546,7 +546,7 @@
                    where
                      workflow_key = ''publishing_wf''
                    and
-                     object_id = is_publishable__item_id;
+                     object_id = is_publishable__item_id
 
   LOOP
     if v_pub_wf.state != ''finished'' then
@@ -1407,7 +1407,7 @@
 
 -- function get_revision_count
 create function content_item__get_revision_count (integer)
-returns number as '
+returns integer as '
 declare
   get_revision_count__item_id   alias for $1;  
   v_count                       integer;       
