postgresql7.1 select content_folder__new(:name, :title, '', coalesce(etp__get_folder_id(:parent_package_id), NULL)); select acs_object__name(:package_id) as title