postgresql7.1
declare
copy_id integer;
begin
copy_id := content_item__copy2(
:template_id, :folder_id, :creation_user, :creation_ip
);
insert into cr_templates (template_id) values (copy_id);
return null;
end;
select content_item__get_path(:folder_id, null)