arjun
committed
on 24 Jul 02
adding back code wrongly removed from get_portal_id_from_type, that
was breaking class creation on both oracle and pg