postgresql7.1 select coalesce(content_item__get_path(:parent_id,null), '/') as item_path, pretty_name as content_type_name from acs_object_types where object_type = :content_type