postgresql7.1 select ttl__create_file(:package_id, :caller_id, :upload_file, :ticket_id, :mime_type, :file_extension) update cr_revisions set content_length = :tmp_size, content = :tmp_filename where revision_id = :revision_id