postgresql7.1
select content_folder__new(:name, :title, '', coalesce(etp__get_folder_id(:parent_package_id), NULL));
select
content_folder__register_content_type(:folder_id,'content_revision','t')
select
content_folder__register_content_type(:folder_id,'content_folder','f')
select acs_object__name(:package_id) as title