postgresql7.1 select acs_object__name(:party_id) as party_name, object_type as party_type from acs_objects where object_id = :party_id