Index: openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql,v
diff -u -r1.18 -r1.19
--- openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql	12 Mar 2004 19:19:46 -0000	1.18
+++ openacs-4/packages/acs-messaging/sql/postgresql/acs-messaging-packages.sql	10 Feb 2009 18:31:54 -0000	1.19
@@ -105,7 +105,7 @@
     begin
         -- generate a message id now so we can get an rfc822 message-id
         if p_message_id is null then
-            select acs_object_id_seq.nextval into v_message_id;
+            select nextval(''t_acs_object_id_seq'') into v_message_id;
         else
             v_message_id := p_message_id;
         end if;
