postgresql7.1
select name as title
from cr_items
where item_id = :file_id
select file_storage__rename_file (
:file_id, -- file_id
:title -- title
);
select count(*)
from cr_items
where name = :title
and parent_id = content_item__get_parent_folder(:file_id)