Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-logs-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-logs-create.sql,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-logs-create.sql	25 Sep 2006 17:59:16 -0000	1.6
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-logs-create.sql	10 Feb 2009 18:31:54 -0000	1.7
@@ -61,7 +61,7 @@
     insert into acs_logs
      (log_id, log_level, log_key, message)
     values
-     (acs_log_id_seq.nextval, ''notice'', notice__log_key, notice__message);
+     (nextval(''t_acs_log_id_seq''), ''notice'', notice__log_key, notice__message);
 
     return 0; 
 end;' language 'plpgsql';
@@ -77,7 +77,7 @@
     insert into acs_logs
      (log_id, log_level, log_key, message)
     values
-     (acs_log_id_seq.nextval, ''warn'', warn__log_key, warn__message);
+     (nextval(''t_acs_log_id_seq''), ''warn'', warn__log_key, warn__message);
 
     return 0; 
 end;' language 'plpgsql';
@@ -93,7 +93,7 @@
     insert into acs_logs
      (log_id, log_level, log_key, message)
     values
-     (acs_log_id_seq.nextval, ''error'', error__log_key, error__message);
+     (nextval(''t_acs_log_id_seq''), ''error'', error__log_key, error__message);
 
     return 0; 
 end;' language 'plpgsql';
@@ -109,7 +109,7 @@
     insert into acs_logs
      (log_id, log_level, log_key, message)
     values
-     (acs_log_id_seq.nextval, ''debug'', debug__log_key, debug__message);
+     (nextval(''t_acs_log_id_seq''), ''debug'', debug__log_key, debug__message);
 
     return 0; 
 end;' language 'plpgsql';
