Index: openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/wf-callback-package.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/wf-callback-package.sql,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/wf-callback-package.sql 11 Apr 2001 04:50:30 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/acs-workflow/sql/postgresql/wf-callback-package.sql 13 Apr 2001 00:29:01 -0000 1.2 @@ -15,7 +15,7 @@ -- as -- -- function guard_attribute_true( --- case_id in number, +-- case_id in integer, -- workflow_key in varchar2, -- transition_key in varchar2, -- place_key in varchar2, @@ -24,7 +24,7 @@ -- ) return char; -- -- function time_sysdate_plus_x( --- case_id in number, +-- case_id in integer, -- transition_key in varchar2, -- custom_arg in varchar2 -- ) return date; @@ -35,7 +35,7 @@ -- create or replace package body wf_callback -- function guard_attribute_true -create function wf_callback__guard_attribute_true (number,varchar,varchar,varchar,varchar,varchar) +create function wf_callback__guard_attribute_true (integer,varchar,varchar,varchar,varchar,varchar) returns char as ' declare guard_attribute_true__case_id alias for $1; @@ -54,14 +54,14 @@ -- function time_sysdate_plus_x -create function wf_callback__time_sysdate_plus_x (number,varchar,varchar) +create function wf_callback__time_sysdate_plus_x (integer,varchar,varchar) returns timestamp as ' declare time_sysdate_plus_x__case_id alias for $1; time_sysdate_plus_x__transition_key alias for $2; time_sysdate_plus_x__custom_arg alias for $3; begin - return now() + to_number(time_sysdate_plus_x__custom_arg); + return now() + to_integer(time_sysdate_plus_x__custom_arg); end;' language 'plpgsql';