postgresql7.1 select content_item__get_id(:path, content_template__get_root_folder(), 'f') select content_template__get_root_folder() select content_item__get_path(:id, null)